.ctags

Sat, 14 Nov 2015 18:02:14 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 14 Nov 2015 18:02:14 -0500
changeset 227
230c3fc67325
parent 225
5b91792c70ba
child 230
5cd77842c623
permissions
-rw-r--r--

Add .vimperatorrc

181
83459cf3d815 add .ctags
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 --extra=+q
83459cf3d815 add .ctags
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 --exclude=*min.js
83459cf3d815 add .ctags
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
183
24804a083693 add regex to pick up foo => sub { style definitions
Meredith Howard <mhoward@roomag.org>
parents: 181
diff changeset
4 --regex-perl=/['"]?([0-9a-zA-Z_]+)['"]?\s+(,|=>)\s+sub\s+[{(]/\1/s,subroutines/
181
83459cf3d815 add .ctags
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 --regex-perl=/^\s*extends\s+(['"])(.+)\1/\2/e,extends/
83459cf3d815 add .ctags
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 --regex-perl=/^\s*with\s+(['"])(.+)\1/\2/r,role/
83459cf3d815 add .ctags
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 --regex-perl=/^\s*has\s+['"]?([0-9a-zA-Z_]+)/\1/a,attributes/
225
5b91792c70ba Add elixir defs
Meredith Howard <mhoward@roomag.org>
parents: 183
diff changeset
8
5b91792c70ba Add elixir defs
Meredith Howard <mhoward@roomag.org>
parents: 183
diff changeset
9 --langdef=Elixir
5b91792c70ba Add elixir defs
Meredith Howard <mhoward@roomag.org>
parents: 183
diff changeset
10 --langmap=Elixir:.ex.exs
5b91792c70ba Add elixir defs
Meredith Howard <mhoward@roomag.org>
parents: 183
diff changeset
11 --regex-Elixir=/^[ \t]*def(p?)[ \t]+([a-z_][a-zA-Z0-9_?!]*)/\2/f,functions,functions (def ...)/
5b91792c70ba Add elixir defs
Meredith Howard <mhoward@roomag.org>
parents: 183
diff changeset
12 --regex-Elixir=/^[ \t]*defcallback[ \t]+([a-z_][a-zA-Z0-9_?!]*)/\1/c,callbacks,callbacks (defcallback ...)/
5b91792c70ba Add elixir defs
Meredith Howard <mhoward@roomag.org>
parents: 183
diff changeset
13 --regex-Elixir=/^[ \t]*defdelegate[ \t]+([a-z_][a-zA-Z0-9_?!]*)/\1/d,delegates,delegates (defdelegate ...)/
5b91792c70ba Add elixir defs
Meredith Howard <mhoward@roomag.org>
parents: 183
diff changeset
14 --regex-Elixir=/^[ \t]*defexception[ \t]+([A-Z][a-zA-Z0-9_]*\.)*([A-Z][a-zA-Z0-9_?!]*)/\2/e,exceptions,exceptions (defexception ...)/
5b91792c70ba Add elixir defs
Meredith Howard <mhoward@roomag.org>
parents: 183
diff changeset
15 --regex-Elixir=/^[ \t]*defimpl[ \t]+([A-Z][a-zA-Z0-9_]*\.)*([A-Z][a-zA-Z0-9_?!]*)/\2/i,implementations,implementations (defimpl ...)/
5b91792c70ba Add elixir defs
Meredith Howard <mhoward@roomag.org>
parents: 183
diff changeset
16 --regex-Elixir=/^[ \t]*defmacro(p?)[ \t]+([a-z_][a-zA-Z0-9_?!]*)\(/\2/a,macros,macros (defmacro ...)/
5b91792c70ba Add elixir defs
Meredith Howard <mhoward@roomag.org>
parents: 183
diff changeset
17 --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")/
5b91792c70ba Add elixir defs
Meredith Howard <mhoward@roomag.org>
parents: 183
diff changeset
18 --regex-Elixir=/^[ \t]*defmodule[ \t]+([A-Z][a-zA-Z0-9_]*\.)*([A-Z][a-zA-Z0-9_?!]*)/\2/m,modules,modules (defmodule ...)/
5b91792c70ba Add elixir defs
Meredith Howard <mhoward@roomag.org>
parents: 183
diff changeset
19 --regex-Elixir=/^[ \t]*defprotocol[ \t]+([A-Z][a-zA-Z0-9_]*\.)*([A-Z][a-zA-Z0-9_?!]*)/\2/p,protocols,protocols (defprotocol...)/
5b91792c70ba Add elixir defs
Meredith Howard <mhoward@roomag.org>
parents: 183
diff changeset
20 --regex-Elixir=/^[ \t]*Record\.defrecord[ \t]+:([a-zA-Z0-9_]+)/\1/r,records,records (defrecord...)/

mercurial