.vim/plugin/tagbar-types.vim

changeset 869
9b6eec375e56
parent 868
b3beb2c34536
child 870
b91d44fd967d
equal deleted inserted replaced
868:b3beb2c34536 869:9b6eec375e56
33 \ 'd:delegates', 33 \ 'd:delegates',
34 \ 'c:callbacks', 34 \ 'c:callbacks',
35 \ 'e:exceptions', 35 \ 'e:exceptions',
36 \ ], 36 \ ],
37 \ } 37 \ }
38
39 " https://github.com/jstemmer/gotags
40 let g:tagbar_type_go = {
41 \ 'ctagstype' : 'go',
42 \ 'kinds' : [
43 \ 'p:package',
44 \ 'i:imports:1',
45 \ 'c:constants',
46 \ 'v:variables',
47 \ 't:types',
48 \ 'n:interfaces',
49 \ 'w:fields',
50 \ 'e:embedded',
51 \ 'm:methods',
52 \ 'r:constructor',
53 \ 'f:functions'
54 \ ],
55 \ 'sro' : '.',
56 \ 'kind2scope' : {
57 \ 't' : 'ctype',
58 \ 'n' : 'ntype'
59 \ },
60 \ 'scope2kind' : {
61 \ 'ctype' : 't',
62 \ 'ntype' : 'n'
63 \ },
64 \ 'ctagsbin' : 'gotags',
65 \ 'ctagsargs' : '-sort -silent'
66 \ }

mercurial