Marty Oehme
c8f9d31312
Updated deoplete to remove legacy options. Updated wiki.vim custom function call to new name. Changed simple vim-go options.
25 lines
938 B
VimL
25 lines
938 B
VimL
" PLUGIN: vim-go
|
|
" change the tabstops for go to use tabs and a width of 4
|
|
" this conforms with the gofmt expectations
|
|
au FileType go set noexpandtab
|
|
au FileType go set shiftwidth=4
|
|
au FileType go set softtabstop=4
|
|
au FileType go set tabstop=4
|
|
" enable all sorts of highlighting options for
|
|
" variables/functions/arguments...
|
|
let g:go_highlight_build_constraints = 1
|
|
let g:go_highlight_extra_types = 1
|
|
let g:go_highlight_fields = 1
|
|
let g:go_highlight_functions = 1
|
|
let g:go_highlight_methods = 1
|
|
let g:go_highlight_operators = 1
|
|
let g:go_highlight_structs = 1
|
|
let g:go_highlight_types = 1
|
|
" enable highlighting of other uses of the same variable
|
|
let g:go_auto_sameids = 0
|
|
" automatically import needed dependencies
|
|
let g:go_fmt_command = "goimports"
|
|
" show type information for variables in the status line
|
|
let g:go_auto_type_info = 1
|
|
" disable go info in status window, since it overlaps ALE linter information
|
|
let g:go_echo_go_info = 0
|