diff options
author | Franck Cuny <fcuny@twitter.com> | 2019-01-19 10:39:46 -0800 |
---|---|---|
committer | Franck Cuny <fcuny@twitter.com> | 2019-01-19 10:39:46 -0800 |
commit | 9353c33abad9a486c67ea8bc82e06b37d3b36a92 (patch) | |
tree | b27ff6c5259e7cd983b55153d1fe1438cc75cd6b /ctags | |
parent | [bash] go back to simple prompt. (diff) | |
download | emacs.d-9353c33abad9a486c67ea8bc82e06b37d3b36a92.tar.gz |
clean up.
Removed scripts and some configs, they will be in their own repo.
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/ |