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 c3844db973
commit 4da8c3607d
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'
\})