mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Use system() with silent to avoid visual artifact
This commit is contained in:
@@ -107,7 +107,7 @@ function! gitgutter#utility#system(cmd, ...)
|
||||
let output = join(ret.stdout, "\n")
|
||||
let s:exit_code = ret.exit_code
|
||||
else
|
||||
let output = (a:0 == 0) ? system(a:cmd) : system(a:cmd, a:1)
|
||||
silent let output = (a:0 == 0) ? system(a:cmd) : system(a:cmd, a:1)
|
||||
endif
|
||||
return output
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user