summaryrefslogtreecommitdiff
path: root/ale_linters/go/gosimple.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/go/gosimple.vim')
-rw-r--r--ale_linters/go/gosimple.vim5
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,
\})