Fix #921 - Capture both output streams for gosimple and staticcheck
This commit is contained in:
parent
c3844db973
commit
4da8c3607d
2 changed files with 2 additions and 0 deletions
|
@ -6,4 +6,5 @@ call ale#linter#Define('go', {
|
||||||
\ 'executable': 'gosimple',
|
\ 'executable': 'gosimple',
|
||||||
\ 'command': 'gosimple %t',
|
\ 'command': 'gosimple %t',
|
||||||
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
|
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
|
||||||
|
\ 'output_stream': 'both'
|
||||||
\})
|
\})
|
||||||
|
|
|
@ -6,4 +6,5 @@ call ale#linter#Define('go', {
|
||||||
\ 'executable': 'staticcheck',
|
\ 'executable': 'staticcheck',
|
||||||
\ 'command': 'staticcheck %t',
|
\ 'command': 'staticcheck %t',
|
||||||
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
|
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
|
||||||
|
\ 'output_stream': 'both'
|
||||||
\})
|
\})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue