diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2017-02-18 14:56:52 -0800 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2017-02-18 14:56:52 -0800 |
commit | 8cd2ab5f17fc51e907cee5bfcb7f92772980aea2 (patch) | |
tree | 4531387fd9bd02747ffadf1eef8a9e1eb74ae152 /ctags | |
parent | [notes] up (diff) | |
download | emacs.d-8cd2ab5f17fc51e907cee5bfcb7f92772980aea2.tar.gz |
[ctags] initial configuration
Diffstat (limited to 'ctags')
-rw-r--r-- | ctags | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ctags b/ctags new file mode 100644 index 0000000..3d83cd1 --- /dev/null +++ b/ctags @@ -0,0 +1,25 @@ +--recurse=yes +--exclude=.git,.pants.d +--exclude=log +--languages=-javascript,-html +--append +--tag-relative=yes + +--langdef=Go +--langmap=Go:.go +--regex-Go=/func([ \t]+\([^)]+\))?[ \t]+([a-zA-Z0-9_]+)/\2/d,func/ +--regex-Go=/type[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/d,type/ +--regex-Go=/var[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/d,var/ + +--langdef=scala +--langmap=scala:.scala +--regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private[^ ]*|protected)?[ \t]*class[ \t]+([a-zA-Z0-9_]+)/\4/c,classes/ +--regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private[^ ]*|protected)?[ \t]*object[ \t]+([a-zA-Z0-9_]+)/\4/c,objects/ +--regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private[^ ]*|protected)?[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*case class[ \t]+([a-zA-Z0-9_]+)/\6/c,case classes/ +--regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private[^ ]*|protected)?[ \t]*case object[ \t]+([a-zA-Z0-9_]+)/\4/c,case objects/ +--regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private[^ ]*|protected)?[ \t]*trait[ \t]+([a-zA-Z0-9_]+)/\4/t,traits/ +--regex-scala=/^[ \t]*type[ \t]+([a-zA-Z0-9_]+)/\1/T,types/ +--regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy|private[^ ]*(\[[a-z]*\])*|protected)[ \t]*)*def[ \t]+([a-zA-Z0-9_]+)/\4/m,methods/ +--regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy|private[^ ]*|protected)[ \t]*)*val[ \t]+([a-zA-Z0-9_]+)/\3/l,constants/ +--regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy|private[^ ]*|protected)[ \t]*)*var[ \t]+([a-zA-Z0-9_]+)/\3/l,variables/ +--regex-scala=/^[ \t]*package[ \t]+([a-zA-Z0-9_.]+)/\1/p,packages/ |