diff options
author | w0rp <devw0rp@gmail.com> | 2017-10-31 13:00:55 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-10-31 13:01:01 +0000 |
commit | 9cd0d75c4f001527d34c0a108bb560ffc352eaf7 (patch) | |
tree | 63dfdcb4cdc51ce3c1a1b192b2a42d980f024830 /ale_linters/go/gosimple.vim | |
parent | 50f7ad35529e0672e4161e3c74be5cb87196a2f1 (diff) | |
download | ale-9cd0d75c4f001527d34c0a108bb560ffc352eaf7.zip |
Fix #936 - Check the actual files for gosimple and staticcheck
Diffstat (limited to 'ale_linters/go/gosimple.vim')
-rw-r--r-- | ale_linters/go/gosimple.vim | 5 |
1 files changed, 3 insertions, 2 deletions
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, \}) |