Skip to content

Commit

Permalink
Yet more ctags regexes for Mojolicious and MYDLjE in Vim and jEdit
Browse files Browse the repository at this point in the history
  • Loading branch information
kberov committed Jan 26, 2012
1 parent 5d177fd commit 79c14b7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .ctags
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
--regex-perl=/^\s*?use\s+(\w+[\w\:]*?\w*?)/\1/u,use,uses/
--regex-perl=/^\s*?require\s+(\w+[\w\:]*?\w*?)/\1/r,require,requires/
--regex-perl=/^\s*?has\s+['"]?(\w+)['"]?/\1/a,attribute,attributes/
--regex-perl=/^\s*?\*(\w+)\s*?=/\1/a,aliase,aliases/
--regex-perl=/->helper\(\s?['"]?(\w+)['"]?/\1/h,helper,helpers/
--regex-perl=/^\s*?our\s*?[\$@%](\w+)/\1/o,our,ours/
--regex-perl=/^=head1\s+(.+)/\1/p,pod,Plain Old Documentation/
--regex-perl=/^=head2\s+(.+)/-- \1/p,pod,Plain Old Documentation/
--regex-perl=/^=head[3-5]\s+(.+)/---- \1/p,pod,Plain Old Documentation/
#Additional ctags regexes for Perl.
#Put this file in $HOME/.ctags or $HOME/ctags.cnf (on MSDOS, MSWindows only)
#Additional ctags regexes for Perl. 1. Generate tags file:$ ctags -R perl/lib perl/site/lib
#2. Remove these comments and put this file in $HOME/.ctags or $HOME/ctags.cnf (on MSDOS, MSWindows only)

0 comments on commit 79c14b7

Please sign in to comment.