mirror of
https://github.com/junegunn/vim-plug.git
synced 2025-12-10 02:41:50 +08:00
4
plug.vim
4
plug.vim
@@ -1044,14 +1044,14 @@ function! s:update_finish()
|
||||
call s:log4(name, 'Updating submodules. This may take a while.')
|
||||
let out .= s:bang('git submodule update --init --recursive 2>&1', spec.dir)
|
||||
endif
|
||||
let msg = printf('%s %s: %s', v:shell_error ? 'x': '-', name, s:lastline(out))
|
||||
let msg = s:format_message(v:shell_error ? 'x': '-', name, out)
|
||||
if v:shell_error
|
||||
call add(s:update.errors, name)
|
||||
call s:regress_bar()
|
||||
silent execute pos 'd _'
|
||||
call append(4, msg) | 4
|
||||
elseif !empty(out)
|
||||
call setline(pos, msg)
|
||||
call setline(pos, msg[0])
|
||||
endif
|
||||
redraw
|
||||
endfor
|
||||
|
||||
Reference in New Issue
Block a user