forked from marcelbeumer/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ctags
33 lines (28 loc) · 1.71 KB
/
ctags
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--fields=+l
--extra=+f
--langdef=js
--langmap=js:.js
--regex-js=/[ \t,;.]([a-z0-9_$][a-zA-Z0-9_$]+)[ \t]*=.*function/\1/f,function/
--regex-js=/[ \t,;]function[ \t]*([A-Za-z0-9_$]+)\(/\1/f,function/
--regex-js=/[ \t,;]([A-Z][A-Za-z0-9_$]+)[ \t]*[=].*(function\(|extend\()/\1/c,class/
--regex-js=/[ \t,;]function[ \t]*([A-Z][A-Za-z0-9_$]+)\(/\1/c,class/
--regex-js=/[ \t,]([a-zA-Z0-9_$]+)[ \t]*[:][ \t]*\[.*/\1/p,property/
--regex-js=/[ \t,]([a-zA-Z0-9_$]+)[ \t]*[:][ \t]*{.*/\1/p,property/
--regex-js=/[ \t,]([a-zA-Z0-9_$]+)[ \t]*[:][ \t]*'.*/\1/p,property/
--regex-js=/[ \t,]([a-zA-Z0-9_$]+)[ \t]*[:][ \t]*".*/\1/p,property/
--regex-js=/[ \t,]([a-zA-Z0-9_$]+)[ \t]*[:][ \t]*[0-9].*/\1/p,property/
--regex-js=/[ \t,]([a-zA-Z0-9_$]+)[ \t]*[:][ \t]*[^)^(]*$/\1/p,property/
--regex-js=/[ \t,]([a-zA-Z0-9._$]+)[ \t]*[:].*function[ \t]*\(/\1/m,method/
--regex-js=/[ \t,;][A-Z0-9_$][a-zA-Z0-9._$]*.prototype.([a-za-z0-9._$]+)[ \t]*=.*function/\1/m,method/
--langdef=coffee
--langmap=coffee:.coffee
--regex-coffee=/(^|=[ \t])*class ([A-Za-z_][A-Za-z0-9_]+\.)*([A-Za-z_][A-Za-z0-9_]+)( extends ([A-Za-z][A-Za-z0-9_.]*)+)?$/\3/c,class/
--regex-coffee=/^[ \t]*(module\.)?(exports\.)?@?(([A-Za-z][A-Za-z0-9_.]*)+):.*[-=]>.*$/\3/m,method/
--regex-coffee=/^[ \t]*(module\.)?(exports\.)?(([A-Za-z][A-Za-z0-9_.]*)+)[ \t]*=.*[-=]>.*$/\3/f,function/
--regex-coffee=/^[ \t]*(([A-Za-z][A-Za-z0-9_.]*)+)[ \t]*=[^->\n]*$/\1/v,variable/
--regex-coffee=/^[ \t]*@(([A-Za-z][A-Za-z0-9_.]*)+)[ \t]*=[^->\n]*$/\1/f,field/
--regex-coffee=/^[ \t]*@(([A-Za-z][A-Za-z0-9_.]*)+):[^->\n]*$/\1/f,static field/
--regex-coffee=/^[ \t]*(([A-Za-z][A-Za-z0-9_.]*)+):[^->\n]*$/\1/f,field/
--PHP-kinds=cf
--regex-php=/^[ \t]*trait[ \t]+([a-z0_9_]+)/\1/t,traits/i
--exclude=vendor/zxcvbn.js