From a5425e923a929c410867e1e6d5e0687c6fe171be Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Thu, 10 Jun 2021 18:16:16 -0700 Subject: [PATCH] Fix vim go lint configuration --- go/.config/vim/ftplugin/go.vim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/go/.config/vim/ftplugin/go.vim b/go/.config/vim/ftplugin/go.vim index 3695439..0fe93c3 100644 --- a/go/.config/vim/ftplugin/go.vim +++ b/go/.config/vim/ftplugin/go.vim @@ -10,10 +10,8 @@ let g:go_highlight_structs = 1 let g:go_highlight_operators = 1 let g:go_highlight_build_constraints = 1 -augroup go_linters - autocmd! - autocmd FileType go let g:ale_linters['go'] = ['golangci-lint'] -augroup END +let g:ale_linters['go'] = ['golangci-lint'] +let g:ale_go_golangci_lint_options = '' " Open go doc in vertical window, horizontal, or tab nnoremap d :GoDef