mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-03-03 18:00:18 +00:00
18 lines
520 B
VimL
18 lines
520 B
VimL
""""""""""""""""""""""""""""""
|
|
" Golang-specific defaults "
|
|
" from webinstall.dev/vim-go "
|
|
""""""""""""""""""""""""""""""
|
|
|
|
" tell syntastic that go, golint, and errcheck are installed
|
|
let g:syntastic_go_checkers = ['go', 'golint', 'errcheck']
|
|
|
|
" tell vim-go that goimports is installed
|
|
let g:go_fmt_command = "goreturns"
|
|
|
|
" tell vim-go to highlight
|
|
let g:go_highlight_functions = 1
|
|
let g:go_highlight_methods = 1
|
|
let g:go_highlight_structs = 1
|
|
let g:go_highlight_operators = 1
|
|
let g:go_highlight_build_constraints = 1
|