Change vim ale linter for go to golangci-lint

main
Buddy Sandidge 1 year ago
parent 27ac5c91e0
commit 3296f0e989

@ -34,6 +34,9 @@ let g:ale_set_quickfix = 1
augroup linters augroup linters
autocmd! autocmd!
autocmd FileType javascript let g:ale_linters['javascript'] = ['eslint'] 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 augroup END
"{{ end }} "{{ end }}

Loading…
Cancel
Save