mirror of
https://github.com/amix/vimrc
synced 2025-06-16 09:35:01 +08:00
Updated plugins
This commit is contained in:
@ -143,7 +143,12 @@ function! go#cmd#Run(bang, ...) abort
|
||||
endif
|
||||
|
||||
if go#util#IsWin()
|
||||
exec '!' . cmd . go#util#Shelljoin(go#tool#Files())
|
||||
if a:0 == 0
|
||||
exec '!' . cmd . go#util#Shelljoin(go#tool#Files(), 1)
|
||||
else
|
||||
exec '!' . cmd . go#util#Shelljoin(map(copy(a:000), "expand(v:val)"), 1)
|
||||
endif
|
||||
|
||||
if v:shell_error
|
||||
redraws! | echon "vim-go: [run] " | echohl ErrorMsg | echon "FAILED"| echohl None
|
||||
else
|
||||
|
Reference in New Issue
Block a user