From e46ef0ae19071e13fe2eaae02d065865c19cc292 Mon Sep 17 00:00:00 2001 From: Heyward Fann Date: Fri, 23 Dec 2016 14:56:44 +0800 Subject: Redirect go build output to /dev/null Named file file will be created after ALE, this can redirect the output to /dev/null if go build failed. --- ale_linters/go/gobuild.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters/go/gobuild.vim') diff --git a/ale_linters/go/gobuild.vim b/ale_linters/go/gobuild.vim index 1fd6b4c6..4abf1987 100644 --- a/ale_linters/go/gobuild.vim +++ b/ale_linters/go/gobuild.vim @@ -2,7 +2,7 @@ " Description: go build for Go files function! s:FindGobuildScript() abort - return g:ale#util#stdin_wrapper . ' .go go build' + return g:ale#util#stdin_wrapper . ' .go go build -o /dev/null' endfunction let g:ale#util#gobuild_script = -- cgit v1.2.3