switch to tagbar
This commit is contained in:
parent
b828abb7ff
commit
6d00f0f1c6
6 changed files with 35 additions and 6052 deletions
1
.vim/bundle/tagbar
Submodule
1
.vim/bundle/tagbar
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 97d7b04bdd10cae424f8cb6be50ae7893b106ff4
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
27
.vim/plugin/gotags.vim
Normal file
27
.vim/plugin/gotags.vim
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
let g:tagbar_type_go = {
|
||||
\ 'ctagstype' : 'go',
|
||||
\ 'kinds' : [
|
||||
\ 'p:package',
|
||||
\ 'i:imports:1',
|
||||
\ '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'
|
||||
\ },
|
||||
\ 'ctagsbin' : 'gotags',
|
||||
\ 'ctagsargs' : '-sort -silent'
|
||||
\ }
|
||||
Loading…
Add table
Add a link
Reference in a new issue