Change vim ale linter for go to golangci-lint

This commit is contained in:
Buddy Sandidge 2023-09-27 08:00:36 -07:00
parent 27ac5c91e0
commit 3296f0e989

View File

@ -34,6 +34,9 @@ let g:ale_set_quickfix = 1
augroup linters
autocmd!
autocmd FileType javascript let g:ale_linters['javascript'] = ['eslint']
"{{ if lookPath "golangci-lint" }}
autocmd FileType go let g:ale_linters['go'] = ['golangci-lint']
"{{ end }}
augroup END
"{{ end }}