Skip to content

Instantly share code, notes, and snippets.

@guillermo-menjivar
Created May 31, 2018 19:48
Show Gist options
  • Save guillermo-menjivar/090bbf8b70eaea5a663f57faf3b0c350 to your computer and use it in GitHub Desktop.
Save guillermo-menjivar/090bbf8b70eaea5a663f57faf3b0c350 to your computer and use it in GitHub Desktop.
"vim-go
"auto import
let g:go_disable_autoinstall = 0
let g:go_fmt_command = "goimports"
let g:go_textobj_include_function_doc = 0
let g:go_addtags_transform = "camelcase"
let g:go_highlight_types = 1
let g:go_highlight_fields = 1
let g:go_highlight_functions = 1
let g:go_highlight_methods = 1
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'
\ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment