summaryrefslogtreecommitdiff
path: root/ale_linters/go
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-09-12 19:53:23 +0100
committerw0rp <devw0rp@gmail.com>2017-09-12 19:53:23 +0100
commit4e9420d1f581d72bef17554b36073cca584a752f (patch)
tree3cc6fac25de773d7491e860edd0ba549e899ae98 /ale_linters/go
parente2271b769c6fbf8bc09c6ab729175edf8d77c452 (diff)
downloadale-4e9420d1f581d72bef17554b36073cca584a752f.zip
Fix #921 - Capture both output streams for gosimple and staticcheck
Diffstat (limited to 'ale_linters/go')
-rw-r--r--ale_linters/go/gosimple.vim1
-rw-r--r--ale_linters/go/staticcheck.vim1
2 files changed, 2 insertions, 0 deletions
diff --git a/ale_linters/go/gosimple.vim b/ale_linters/go/gosimple.vim
index 4b7d340b..9188e0d7 100644
--- a/ale_linters/go/gosimple.vim
+++ b/ale_linters/go/gosimple.vim
@@ -6,4 +6,5 @@ call ale#linter#Define('go', {
\ 'executable': 'gosimple',
\ 'command': 'gosimple %t',
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
+\ 'output_stream': 'both'
\})
diff --git a/ale_linters/go/staticcheck.vim b/ale_linters/go/staticcheck.vim
index c78b3209..cb4a5c72 100644
--- a/ale_linters/go/staticcheck.vim
+++ b/ale_linters/go/staticcheck.vim
@@ -6,4 +6,5 @@ call ale#linter#Define('go', {
\ 'executable': 'staticcheck',
\ 'command': 'staticcheck %t',
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
+\ 'output_stream': 'both'
\})