summaryrefslogtreecommitdiff
path: root/ale_linters/go
diff options
context:
space:
mode:
authorHeyward Fann <fannheyward@users.noreply.github.com>2016-12-23 14:56:44 +0800
committerGitHub <noreply@github.com>2016-12-23 14:56:44 +0800
commite46ef0ae19071e13fe2eaae02d065865c19cc292 (patch)
treecc6c4f5c0042cf8f46c8f394d0162209894fd0ce /ale_linters/go
parent55827a9493aa88ee6cffb8bce2d2cdee955d24fa (diff)
downloadale-e46ef0ae19071e13fe2eaae02d065865c19cc292.zip
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.
Diffstat (limited to 'ale_linters/go')
-rw-r--r--ale_linters/go/gobuild.vim2
1 files changed, 1 insertions, 1 deletions
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 =