add .slrn, .sqliterc, .ctags

This commit is contained in:
2025-06-16 13:38:18 +01:00
parent 299e2ddfb3
commit f7388eb72d
3 changed files with 39 additions and 1 deletions

36
ctags Normal file
View File

@@ -0,0 +1,36 @@
--exclude=*.min.js
--exclude=*.min.css
--exclude=*.map
--exclude=.backup
--exclude=.sass-cache
--exclude=vendors
--exclude=.git
--exclude=.hg
--exclude=.tox
--langdef=markdown
--langmap=markdown:.md.markdown.mdown.mkd.mkdn
--regex-markdown=/^#[ \t]+([^#]*)/\1/h,heading1/
--regex-markdown=/^##[ \t]+([^#]*)/. \1/h,heading2/
--regex-markdown=/^###[ \t]+([^#]*)/. \1/h,heading3/
--langdef=css
--langmap=css:.css
--regex-css=/^[ \t]*\.([A-Za-z0-9_-]+)/.\1/c,class,classes/
--regex-css=/^[ \t]*#([A-Za-z0-9_-]+)/#\1/i,id,ids/
--regex-css=/^[ \t]*(([A-Za-z0-9_-]+[ \t\n,]+)+)\{/\1/t,tag,tags/
--regex-css=/^[ \t]*@media\s+([A-Za-z0-9_-]+)/\1/m,media,medias/
--langdef=scss
--langmap=scss:.scss
--regex-scss=/^[ \t]*@mixin ([A-Za-z0-9_-]+)/\1/m,mixin,mixins/
--regex-scss=/^[ \t]*\$([A-Za-z0-9_-]+)/\1/v,variable,variables/
--regex-scss=/^([A-Za-z0-9_-]*)*(\.[A-Za-z0-9_-]+) *[,{]/\2/c,class,classes/
--regex-scss=/^[ \t]+(\.[A-Za-z0-9_-]+) *[,{]/\1/c,class,classes/
--regex-scss=/^(.*)*\#([A-Za-z0-9_-]+) *[,{]/\2/i,id,ids/
--regex-scss=/^[ \t]*#([A-Za-z0-9_-]+)/\1/i,id,ids/
--regex-scss=/(^([A-Za-z0-9_-])*([A-Za-z0-9_-]+)) *[,|\{]/\1/t,tag,tags/
--regex-scss=/(^([^\/\/])*)[ \t]+([A-Za-z0-9_-]+)) *[,|\{]/\3/t,tag,tags/
--regex-scss=/(^(.*, *)([A-Za-z0-9_-]+)) *[,|\{]/\3/t,tag,tags/
--regex-scss=/(^[ \t]+([A-Za-z0-9_-]+)) *[,|\{]/\1/t,tag,tags/
--regex-scss=/^[ \t]*@media\s+([A-Za-z0-9_-]+)/\1/d,media,media/

View File

@@ -48,7 +48,7 @@ unset COMMANDS MISSING
# RC files
mkdir -pv bak
for rc in *rc *profile tmux*.conf bashrc.d mutt tmux*conf ; do
for rc in *rc *profile tmux*.conf bashrc.d mutt tmux*conf slrn sqliterc ctags ; do
if [ ! -r $rc ] ; then
continue
fi
@@ -67,6 +67,7 @@ for bin in $BASE/bin/*; do
BIN_NAME=$(basename $bin)
[ $(realpath ~/bin/$BIN_NAME) == $bin ]
if [ $? -ne 0 ] ; then
[ -e "~/bin/$BIN_NAME" ] && mv -v "~/bin/$BIN_NAME" bak/
ln -svf "$bin" ~/bin
fi
done

1
sqliterc Normal file
View File

@@ -0,0 +1 @@
.headers on