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.
This commit is contained in:
parent
55827a9493
commit
e46ef0ae19
@ -2,7 +2,7 @@
|
|||||||
" Description: go build for Go files
|
" Description: go build for Go files
|
||||||
|
|
||||||
function! s:FindGobuildScript() abort
|
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
|
endfunction
|
||||||
|
|
||||||
let g:ale#util#gobuild_script =
|
let g:ale#util#gobuild_script =
|
||||||
|
Loading…
Reference in New Issue
Block a user