Wed, 30 Mar 2016 23:04:58 -0400
drop ri, add vim-asciidoc
181 | 1 | --extra=+q |
2 | --exclude=*min.js | |
3 | ||
231
494ac568f07f
avoid false negatives in tags
Meredith Howard <mhoward@roomag.org>
parents:
230
diff
changeset
|
4 | --regex-perl=/^\s*fun +([0-9a-zA-Z_]+) *[{(]/\1/s,subroutines/ |
494ac568f07f
avoid false negatives in tags
Meredith Howard <mhoward@roomag.org>
parents:
230
diff
changeset
|
5 | --regex-perl=/^\s*method +([0-9a-zA-Z_]+) *[{(]/\1/m,methods/ |
230
5cd77842c623
Add ctags matches for fun and method
Meredith Howard <mhoward@roomag.org>
parents:
225
diff
changeset
|
6 | --regex-perl=/(['"]?)([0-9a-zA-Z_]+)\1\s+(,|=>)\s+sub\s+[{(]/\2/s,subroutines/ |
181 | 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/ | |
225 | 10 | |
11 | --langdef=Elixir | |
12 | --langmap=Elixir:.ex.exs | |
13 | --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 ...)/ | |
15 | --regex-Elixir=/^[ \t]*defdelegate[ \t]+([a-z_][a-zA-Z0-9_?!]*)/\1/d,delegates,delegates (defdelegate ...)/ | |
16 | --regex-Elixir=/^[ \t]*defexception[ \t]+([A-Z][a-zA-Z0-9_]*\.)*([A-Z][a-zA-Z0-9_?!]*)/\2/e,exceptions,exceptions (defexception ...)/ | |
17 | --regex-Elixir=/^[ \t]*defimpl[ \t]+([A-Z][a-zA-Z0-9_]*\.)*([A-Z][a-zA-Z0-9_?!]*)/\2/i,implementations,implementations (defimpl ...)/ | |
18 | --regex-Elixir=/^[ \t]*defmacro(p?)[ \t]+([a-z_][a-zA-Z0-9_?!]*)\(/\2/a,macros,macros (defmacro ...)/ | |
19 | --regex-Elixir=/^[ \t]*defmacro(p?)[ \t]+([a-zA-Z0-9_?!]+)?[ \t]+([^ \tA-Za-z0-9_]+)[ \t]*[a-zA-Z0-9_!?!]/\3/o,operators,operators (e.g. "defmacro a <<< b")/ | |
20 | --regex-Elixir=/^[ \t]*defmodule[ \t]+([A-Z][a-zA-Z0-9_]*\.)*([A-Z][a-zA-Z0-9_?!]*)/\2/m,modules,modules (defmodule ...)/ | |
21 | --regex-Elixir=/^[ \t]*defprotocol[ \t]+([A-Z][a-zA-Z0-9_]*\.)*([A-Z][a-zA-Z0-9_?!]*)/\2/p,protocols,protocols (defprotocol...)/ | |
22 | --regex-Elixir=/^[ \t]*Record\.defrecord[ \t]+:([a-zA-Z0-9_]+)/\1/r,records,records (defrecord...)/ |