1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
let g:tagbar_autoclose = 1
let g:tagbar_autofocus = 1
nnoremap <leader><leader>s :TagbarToggle<CR>
let g:tagbar_type_go = {
\ 'ctagstype': 'go',
\ 'kinds': [
\ 'p:package',
\ 'i:imports',
\ 'c:constants',
\ 'v:variables',
\ 't:types',
\ 'n:interfaces',
\ 'w:fields',
\ 'e:embedded',
\ 'm:methods',
\ 'r:constructor',
\ 'f:functions'
\ ],
\ 'sro': '.',
\ 'kind2scope': {
\ 't': 'ctype',
\ 'n': 'ntype'
\ },
\ 'scope2kind': {
\ 'ctype': 't',
\ 'ntype': 'n'
\ }
\ }
|