Created
November 22, 2013 10:48
-
-
Save jbolila/7598018 to your computer and use it in GitHub Desktop.
ctags for Modern Perl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
".. | |
Bundle 'vim-scripts/AutoTag' | |
Bundle 'majutsushi/tagbar' | |
".. | |
let g:tagbar_autoclose = 1 | |
" Tagbar settings to recognise Perl Moo..Moose | |
let g:tagbar_type_perl = { | |
\ 'ctagstype' : 'Perl', | |
\ 'kinds' : [ | |
\ 'p:packages:1:0', | |
\ 'u:uses:1:0', | |
\ 'r:requires:1:0', | |
\ 'e:extends', | |
\ 'w:roles', | |
\ 'o:ours:1:0', | |
\ 'c:constants:1:0', | |
\ 'f:formats:1:0', | |
\ 'a:attributes', | |
\ 's:subroutines', | |
\ 'x:around:1:0', | |
\ 'l:aliases', | |
\ 'd:pod:1:0', | |
\ ], | |
\ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
'vim-scripts/AutoTag' isn't required for this, not even the tagbar. Just the
.ctags
in $HOME for convenience.