From 9cd0d75c4f001527d34c0a108bb560ffc352eaf7 Mon Sep 17 00:00:00 2001 From: w0rp Date: Tue, 31 Oct 2017 13:00:55 +0000 Subject: Fix #936 - Check the actual files for gosimple and staticcheck --- ale_linters/go/gosimple.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ale_linters/go/gosimple.vim') diff --git a/ale_linters/go/gosimple.vim b/ale_linters/go/gosimple.vim index 9188e0d7..8a4c01e1 100644 --- a/ale_linters/go/gosimple.vim +++ b/ale_linters/go/gosimple.vim @@ -4,7 +4,8 @@ call ale#linter#Define('go', { \ 'name': 'gosimple', \ 'executable': 'gosimple', -\ 'command': 'gosimple %t', +\ 'command': 'gosimple %s', \ 'callback': 'ale#handlers#unix#HandleAsWarning', -\ 'output_stream': 'both' +\ 'output_stream': 'both', +\ 'lint_file': 1, \}) -- cgit v1.2.3