ale/ale_linters/go/govet.vim

11 lines
278 B
VimL

" 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#HandleUnixFormatAsError',
\})