Change vim ale linter for go to golangci-lint
This commit is contained in:
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…
Reference in New Issue
Block a user