Commit 4885d7f

mo khan <mo@mokhan.ca>
2021-07-30 21:50:58
configure syntastic and vim-go to play nicely together.
1 parent c8f563e
Changed files (1)
vimrc
@@ -198,6 +198,7 @@ let g:airline#extensions#tabline#enabled = 1
 let g:airline#extensions#tabline#formatter = 'unique_tail'
 let g:fzf_tags_command = 'ctags -R'
 let g:go_fmt_autosave = 1
+let g:go_list_type = "quickfix"
 let g:go_play_browser_command = 'browser %URL%'
 let g:ruby_indent_assignment_style = 'variable'
 let g:ruby_indent_block_style = 'do'
@@ -209,5 +210,7 @@ let g:syntastic_always_populate_loc_list = 0
 let g:syntastic_auto_loc_list = 0
 let g:syntastic_check_on_open = 0
 let g:syntastic_check_on_wq = 0
+let g:syntastic_go_checkers = ['golint', 'govet']
+let g:syntastic_mode_map = { 'mode': 'active', 'passive_filetypes': ['go'] }
 
 " }}}}