add and update vim plugins with sensible defaults
[webi-installers/.git] / vim-go / go.vim
1 """"""""""""""""""""""""""""""
2 "  Golang-specific defaults  "
3 " from webinstall.dev/vim-go "
4 """"""""""""""""""""""""""""""
5
6 " tell syntastic that go, golint, and errcheck are installed
7 let g:syntastic_go_checkers = ['go', 'golint', 'errcheck']
8
9 " tell vim-go that goimports is installed
10 let g:go_fmt_command = "goreturns"
11
12 " tell vim-go to highlight
13 let g:go_highlight_functions = 1
14 let g:go_highlight_methods = 1
15 let g:go_highlight_structs = 1
16 let g:go_highlight_operators = 1
17 let g:go_highlight_build_constraints = 1