.vim/ctags/perl.cnf

Wed, 25 Nov 2015 16:37:33 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 25 Nov 2015 16:37:33 -0500
changeset 230
5cd77842c623
parent 1
727a469263f2
child 231
494ac568f07f
permissions
-rw-r--r--

Add ctags matches for fun and method

230
5cd77842c623 Add ctags matches for fun and method
Meredith Howard <mhoward@roomag.org>
parents: 1
diff changeset
1 --regex-perl=/^\s*fun +([0-9a-zA-Z_]+)/\1/s,subroutines/
5cd77842c623 Add ctags matches for fun and method
Meredith Howard <mhoward@roomag.org>
parents: 1
diff changeset
2 --regex-perl=/^\s*method +([0-9a-zA-Z_]+)/\1/m,methods/
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