Add gotags support

This commit is contained in:
Kevin Cotugno 2017-12-21 18:16:38 -08:00
parent 8e717c23b2
commit 209e9b302a

View File

@ -137,3 +137,32 @@ let g:syntastic_aggregate_errors = 1
let g:syntastic_ruby_checkers = ['rubocop']
let g:syntastic_error_symbol = "\u2717"
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'
\ }