Wed, 25 Nov 2015 16:37:33 -0500
Add ctags matches for fun and method
.ctags | file | annotate | diff | comparison | revisions | |
.vim/ctags/perl.cnf | file | annotate | diff | comparison | revisions | |
.vimrc | file | annotate | diff | comparison | revisions |
--- a/.ctags +++ b/.ctags @@ -1,7 +1,9 @@ --extra=+q --exclude=*min.js ---regex-perl=/['"]?([0-9a-zA-Z_]+)['"]?\s+(,|=>)\s+sub\s+[{(]/\1/s,subroutines/ +--regex-perl=/^\s*fun +([0-9a-zA-Z_]+)/\1/s,subroutines/ +--regex-perl=/^\s*method +([0-9a-zA-Z_]+)/\1/m,methods/ +--regex-perl=/(['"]?)([0-9a-zA-Z_]+)\1\s+(,|=>)\s+sub\s+[{(]/\2/s,subroutines/ --regex-perl=/^\s*extends\s+(['"])(.+)\1/\2/e,extends/ --regex-perl=/^\s*with\s+(['"])(.+)\1/\2/r,role/ --regex-perl=/^\s*has\s+['"]?([0-9a-zA-Z_]+)/\1/a,attributes/
--- a/.vim/ctags/perl.cnf +++ b/.vim/ctags/perl.cnf @@ -1,3 +1,6 @@ +--regex-perl=/^\s*fun +([0-9a-zA-Z_]+)/\1/s,subroutines/ +--regex-perl=/^\s*method +([0-9a-zA-Z_]+)/\1/m,methods/ +--regex-perl=/(['"]?)([0-9a-zA-Z_]+)\1\s+(,|=>)\s+sub\s+[{(]/\2/s,subroutines/ --regex-perl=/^\s*extends\s+(['"])(.+)\1/\2/e,extends/ --regex-perl=/^\s*with\s+(['"])(.+)\1/\2/r,role/ --regex-perl=/^\s*has\s+['"]?([0-9a-zA-Z_]+)/\1/a,attributes/