ale/ale_linters/go/govet.vim

11 lines
273 B
VimL
Raw Normal View History

" Author: neersighted <bjorn@neersighted.com>
" Description: go vet for Go files
call ale#linter#Define('go', {
\ 'name': 'go vet',
\ 'output_stream': 'stderr',
\ 'executable': 'go',
\ 'command': 'go vet %t',
\ 'callback': 'ale#handlers#unix#HandleAsError',
\})