diff --git a/go/.config/vim/ftplugin/go.vim b/go/.config/vim/ftplugin/go.vim index c66d981..3695439 100644 --- a/go/.config/vim/ftplugin/go.vim +++ b/go/.config/vim/ftplugin/go.vim @@ -10,12 +10,10 @@ let g:go_highlight_structs = 1 let g:go_highlight_operators = 1 let g:go_highlight_build_constraints = 1 -let g:syntastic_go_checkers = ['go', 'golint', 'errcheck'] - -let g:ale_linters['go'] = ['golint', 'gopls'] - -"let g:go_metalinter_autosave=1 -"let g:go_metalinter_autosave_enabled=['golint', 'govet', 'typecheck'] +augroup go_linters + autocmd! + autocmd FileType go let g:ale_linters['go'] = ['golangci-lint'] +augroup END " Open go doc in vertical window, horizontal, or tab nnoremap d :GoDef diff --git a/vim-fancy/.config/vim/plug.d/vim-fancy.vim b/vim-fancy/.config/vim/plug.d/vim-fancy.vim index 17dfc2d..6335e37 100644 --- a/vim-fancy/.config/vim/plug.d/vim-fancy.vim +++ b/vim-fancy/.config/vim/plug.d/vim-fancy.vim @@ -1,4 +1,4 @@ -"Plug 'neoclide/coc.nvim', { 'branch': 'release' } +Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'SirVer/ultisnips', { 'tag': '3.2' } let g:UltiSnipsSnippetDirectories = [ 'UltiSnips', 'snips' ] diff --git a/vim-fancy/.config/vim/plugin/lint.vim b/vim-fancy/.config/vim/plugin/lint.vim index 25f8e6c..1729ae6 100644 --- a/vim-fancy/.config/vim/plugin/lint.vim +++ b/vim-fancy/.config/vim/plugin/lint.vim @@ -7,5 +7,4 @@ let g:ale_set_quickfix = 1 augroup linters autocmd! autocmd FileType javascript let g:ale_linters['javascript'] = ['eslint'] - autocmd FileType go let g:ale_linters['go'] = ['golint', 'govet', 'gopls', 'gofmt'] augroup END