From 4e9420d1f581d72bef17554b36073cca584a752f 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 4b7d340..9188e0d 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 c78b320..cb4a5c7 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' \})