mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-24 04:56:33 -07:00
R
to retry interrupted tasks as well
This commit is contained in:
parent
0b31be49cf
commit
5b2c03d3a8
8
plug.vim
8
plug.vim
@ -502,11 +502,15 @@ function! s:update_impl(pull, args) abort
|
||||
for line in lines
|
||||
let name = get(matchlist(line, '^. \([^:]\+\):'), 1, '')
|
||||
if empty(name) || !has_key(printed, name)
|
||||
let printed[name] = 1
|
||||
call append('$', line)
|
||||
if !empty(name)
|
||||
let printed[name] = 1
|
||||
if line[0] == 'x' && index(s:prev_update.errors, name) < 0
|
||||
call add(s:prev_update.errors, name)
|
||||
end
|
||||
endif
|
||||
endif
|
||||
endfor
|
||||
echoerr v:exception
|
||||
finally
|
||||
let &imd = imd
|
||||
endtry
|
||||
|
Loading…
Reference in New Issue
Block a user