Fix #921 - Capture both output streams for gosimple and staticcheck

This commit is contained in:
w0rp 2017-09-12 19:53:23 +01:00
parent e2271b769c
commit 4e9420d1f5
2 changed files with 2 additions and 0 deletions

View File

@ -6,4 +6,5 @@ call ale#linter#Define('go', {
\ 'executable': 'gosimple',
\ 'command': 'gosimple %t',
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
\ 'output_stream': 'both'
\})

View File

@ -6,4 +6,5 @@ call ale#linter#Define('go', {
\ 'executable': 'staticcheck',
\ 'command': 'staticcheck %t',
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
\ 'output_stream': 'both'
\})