mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins
This commit is contained in:
@ -1060,13 +1060,14 @@ function! s:Commit(args, ...) abort
|
||||
else
|
||||
noautocmd silent execute '!'.command.' > '.outfile.' 2> '.errorfile
|
||||
endif
|
||||
let error = v:shell_error
|
||||
finally
|
||||
execute cd.'`=dir`'
|
||||
endtry
|
||||
if !has('gui_running')
|
||||
redraw!
|
||||
endif
|
||||
if !v:shell_error
|
||||
if !error
|
||||
if filereadable(outfile)
|
||||
for line in readfile(outfile)
|
||||
echo line
|
||||
|
Reference in New Issue
Block a user