mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 12:03: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 output = join(ret.stdout, "\n")
|
||||||
let s:exit_code = ret.exit_code
|
let s:exit_code = ret.exit_code
|
||||||
else
|
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
|
endif
|
||||||
return output
|
return output
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user