Add gotags support
This commit is contained in:
parent
8e717c23b2
commit
209e9b302a
@ -137,3 +137,32 @@ let g:syntastic_aggregate_errors = 1
|
|||||||
let g:syntastic_ruby_checkers = ['rubocop']
|
let g:syntastic_ruby_checkers = ['rubocop']
|
||||||
let g:syntastic_error_symbol = "\u2717"
|
let g:syntastic_error_symbol = "\u2717"
|
||||||
let g:syntastic_warning_symbol = "\uFE0E"
|
let g:syntastic_warning_symbol = "\uFE0E"
|
||||||
|
|
||||||
|
" Tagbar
|
||||||
|
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…
Reference in New Issue
Block a user