diff options
| author | mo khan <mo@mokhan.ca> | 2021-07-30 15:50:58 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2021-07-30 15:50:58 -0600 |
| commit | 4885d7fbde87f660c4e39663c1aa9c5324c4ac10 (patch) | |
| tree | a9e84a4a035187c77ed6edee6421192b2f5b03fe /vimrc | |
| parent | c8f563e56c415257ad436d5ddd3d2217ded97353 (diff) | |
configure syntastic and vim-go to play nicely together.
Diffstat (limited to 'vimrc')
| -rw-r--r-- | vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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'] } " }}}} |
