.vim/ctags/perl.cnf

Tue, 01 Dec 2015 09:52:15 -0800

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 01 Dec 2015 09:52:15 -0800
changeset 231
494ac568f07f
parent 230
5cd77842c623
permissions
-rw-r--r--

avoid false negatives in tags

231
494ac568f07f avoid false negatives in tags
Meredith Howard <mhoward@roomag.org>
parents: 230
diff changeset
1 --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
2 --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: 1
diff changeset
3 --regex-perl=/(['"]?)([0-9a-zA-Z_]+)\1\s+(,|=>)\s+sub\s+[{(]/\2/s,subroutines/
1
727a469263f2 Add dotfiles
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 --regex-perl=/^\s*extends\s+(['"])(.+)\1/\2/e,extends/
727a469263f2 Add dotfiles
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 --regex-perl=/^\s*with\s+(['"])(.+)\1/\2/r,role/
727a469263f2 Add dotfiles
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 --regex-perl=/^\s*has\s+['"]?([0-9a-zA-Z_]+)/\1/a,attributes/

mercurial