|
1 " adapted from https://gist.github.com/jbolila/7598018 |
|
2 let g:tagbar_type_perl = { |
|
3 \ 'ctagstype' : 'Perl', |
|
4 \ 'kinds' : [ |
|
5 \ 'p:packages:1:0', |
|
6 \ 'u:uses:1:0', |
|
7 \ 'r:requires:1:0', |
|
8 \ 'e:extends', |
|
9 \ 'w:roles', |
|
10 \ 'o:ours:1:0', |
|
11 \ 'c:constants:1:0', |
|
12 \ 'f:formats:1:0', |
|
13 \ 'a:attributes', |
|
14 \ 'm:methods', |
|
15 \ 's:subroutines', |
|
16 \ 'x:around', |
|
17 \ 'l:aliases', |
|
18 \ 'd:pod:1:0', |
|
19 \ ], |
|
20 \ 'deffile' : g:myvim . '/ctags/perl.cnf' |
|
21 \ } |
|
22 |
|
23 let g:tagbar_type_elixir = { |
|
24 \ 'ctagstype' : 'Elixir', |
|
25 \ 'kinds' : [ |
|
26 \ 'm:modules:1:0', |
|
27 \ 'r:records', |
|
28 \ 'f:functions', |
|
29 \ 'a:macros', |
|
30 \ 'o:operators', |
|
31 \ 'p:protocols', |
|
32 \ 'i:implementations', |
|
33 \ 'd:delegates', |
|
34 \ 'c:callbacks', |
|
35 \ 'e:exceptions', |
|
36 \ ], |
|
37 \ } |