Added ctags dotfile
Currently has options for markdown, go, and neosnippet files, as well as some configuration options.
This commit is contained in:
parent
48ad0d8371
commit
3fd3c8f90d
|
@ -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/
|
Loading…
Reference in New Issue