.ctags

changeset 426
4fcad88dbe5f
parent 231
494ac568f07f
child 428
e5a38021ed8b
equal deleted inserted replaced
425:e23906d13a57 426:4fcad88dbe5f
1 --extra=+q 1 --extra=+q
2 --exclude=.git
3 --exclude=.hg
2 --exclude=*min.js 4 --exclude=*min.js
5
6 --langmap=perl:+.pod
7 --regex-perl=/with[ \t]+['"]*([A-Za-z][A-Za-z0-9:]+)['" \t]*;/\1/w,role,roles/
8 --regex-perl=/extends[ \t]+['"]*([A-Za-z][A-Za-z0-9:]+)['" \t]*;/\1/e,extends/
9 --regex-perl=/use[ \t]+base[ \t]+['"]*([A-Za-z][A-Za-z0-9:]+)['" \t]*;/\1/e,extends/
10 --regex-perl=/use[ \t]+parent[ \t]+['"]*([A-Za-z][A-Za-z0-9:]+)['" \t]*;/\1/e,extends/
11 --regex-perl=/^[ \t]*use[ \t]+['"]*([A-Za-z][A-Za-z0-9:]+)['" \t]*;/\1/u,use,uses/
12 --regex-perl=/^[ \t]*require[ \t]+['"]*([A-Za-z][A-Za-z0-9:]+)['" \t]*;/\1/r,require,requires/
13 --regex-perl=/^[ \t]*has[ \t]+['"]*([A-Za-z_+][A-Za-z0-9_]+)['"]*[ \t]+/\1/a,attribute,attributes/
14 --regex-perl=/^[ \t]*around[ \t]+['"]*([A-Za-z_][A-Za-z0-9_]+)['"]*[ \t]+/\1/x,around/
15 --regex-perl=/^[ \t]*\*([A-Za-z_][A-Za-z0-9:_]+)[ \t]+=/\1/l,alias,aliases/
16 --regex-perl=/^[ \t]*our[ \t]+([\$@%][A-Za-z_][A-Za-z0-9_]+)/\1/o,our,ours/
17 --regex-perl=/use[ \t]+constant[ \t]+['"]*([A-Za-z_][A-Za-z0-9_]+)['" \t]*/\1/c,constants/
18 --regex-perl=/^\=head1[ \t]+(.+)/\0/d,pod,Plain Old Documentation/
19 --regex-perl=/^\=head2[ \t]+(.+)/-- \1/d,pod,Plain Old Documentation/
20 --regex-perl=/^\=head[3-5][ \t]+(.+)/--- \1/d,pod,Plain Old Documentation/
3 21
4 --regex-perl=/^\s*fun +([0-9a-zA-Z_]+) *[{(]/\1/s,subroutines/ 22 --regex-perl=/^\s*fun +([0-9a-zA-Z_]+) *[{(]/\1/s,subroutines/
5 --regex-perl=/^\s*method +([0-9a-zA-Z_]+) *[{(]/\1/m,methods/ 23 --regex-perl=/^\s*method +([0-9a-zA-Z_]+) *[{(]/\1/m,methods/
6 --regex-perl=/(['"]?)([0-9a-zA-Z_]+)\1\s+(,|=>)\s+sub\s+[{(]/\2/s,subroutines/ 24 --regex-perl=/(['"]?)([0-9a-zA-Z_]+)\1\s+(,|=>)\s+sub\s+[{(]/\2/s,subroutines/
7 --regex-perl=/^\s*extends\s+(['"])(.+)\1/\2/e,extends/
8 --regex-perl=/^\s*with\s+(['"])(.+)\1/\2/r,role/
9 --regex-perl=/^\s*has\s+['"]?([0-9a-zA-Z_]+)/\1/a,attributes/
10 25
11 --langdef=Elixir 26 --langdef=Elixir
12 --langmap=Elixir:.ex.exs 27 --langmap=Elixir:.ex.exs
13 --regex-Elixir=/^[ \t]*def(p?)[ \t]+([a-z_][a-zA-Z0-9_?!]*)/\2/f,functions,functions (def ...)/ 28 --regex-Elixir=/^[ \t]*def(p?)[ \t]+([a-z_][a-zA-Z0-9_?!]*)/\2/f,functions,functions (def ...)/
14 --regex-Elixir=/^[ \t]*defcallback[ \t]+([a-z_][a-zA-Z0-9_?!]*)/\1/c,callbacks,callbacks (defcallback ...)/ 29 --regex-Elixir=/^[ \t]*defcallback[ \t]+([a-z_][a-zA-Z0-9_?!]*)/\1/c,callbacks,callbacks (defcallback ...)/

mercurial