diff --git a/.vimrc b/.vimrc --- a/.vimrc +++ b/.vimrc @@ -406,20 +406,26 @@ let g:tagbar_autofocus = 1 let g:tagbar_compact = 1 let g:tagbar_width = 30 +" adapted from https://gist.github.com/jbolila/7598018 let g:tagbar_type_perl = { + \ 'ctagstype' : 'Perl', \ 'kinds' : [ \ 'p:packages:1:0', + \ 'u:uses:1:0', + \ 'r:requires:1:0', \ 'e:extends', - \ 'r:roles', - \ 'c:constants:0:0', - \ 'f:formats:0:0', + \ 'w:roles', + \ 'o:ours:1:0', + \ 'c:constants:1:0', + \ 'f:formats:1:0', \ 'a:attributes', \ 'm:methods', \ 's:subroutines', - \ 'l:labels', + \ 'x:around', + \ 'l:aliases', + \ 'd:pod:1:0', \ ], - \ 'deffile' : '$MYVIM/ctags/perl.cnf' -\ } + \ } ">> Unite