From 4da8c3607dfe5620d2e1616099724ce1dea7ede7 Mon Sep 17 00:00:00 2001 From: w0rp Date: Tue, 12 Sep 2017 19:53:23 +0100 Subject: [PATCH] Fix #921 - Capture both output streams for gosimple and staticcheck --- ale_linters/go/gosimple.vim | 1 + ale_linters/go/staticcheck.vim | 1 + 2 files changed, 2 insertions(+) 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' \})