diff --git a/.ctags b/.ctags new file mode 100644 index 0000000..1e52fb6 --- /dev/null +++ b/.ctags @@ -0,0 +1,25 @@ +--recurse=yes +--tag-relative=yes +--totals=yes +--extra=+f +--exclude=.git +--exclude=__pycache__ + +--langdef=markdown +--langmap=markdown:.md.mdown.mkdown.markdown +--regex-markdown=/^# (.*)(#)?/\1/1,header1/ +--regex-markdown=/^#{2} (.*)(#{2})?/\1/2,header2/ +--regex-markdown=/^#{3} (.*)(#{3})?/\1/3,header3/ +--regex-markdown=/^#{4} (.*)(#{4})?/\1/4,header4/ +--regex-markdown=/^#{5} (.*)(#{5})?/\1/5,header5/ +--regex-markdown=/^#{6} (.*)(#{6})?/\1/6,header6/ +--regex-markdown=/^#{7} (.*)(#{7})?/\1/7,header7/ + +--langdef=go +--langmap=go:.go +--regex-go=/func([ \t]+\([^)]+\))?[ \t]+([a-zA-Z0-9_]+)/\2/f,func/ +--regex-go=/type[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/t,type/ + +--langdef=neosnippet +--langmap=neosnippet:.snip +--regex-neosnippet=/^snippet\s+(\S+).*/\1/s,snippet/