.vim/ctags/perl.cnf

Fri, 27 May 2016 18:02:00 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 27 May 2016 18:02:00 -0400
changeset 325
6dc43d41bed1
parent 231
494ac568f07f
permissions
-rw-r--r--

cheaply color diffs, disable nested quote colors

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