R
to retry interrupted tasks as well
This commit is contained in:
parent
0b31be49cf
commit
5b2c03d3a8
1 changed files with 6 additions and 2 deletions
8
plug.vim
8
plug.vim
|
@ -502,11 +502,15 @@ function! s:update_impl(pull, args) abort
|
||||||
for line in lines
|
for line in lines
|
||||||
let name = get(matchlist(line, '^. \([^:]\+\):'), 1, '')
|
let name = get(matchlist(line, '^. \([^:]\+\):'), 1, '')
|
||||||
if empty(name) || !has_key(printed, name)
|
if empty(name) || !has_key(printed, name)
|
||||||
let printed[name] = 1
|
|
||||||
call append('$', line)
|
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
|
endif
|
||||||
endfor
|
endfor
|
||||||
echoerr v:exception
|
|
||||||
finally
|
finally
|
||||||
let &imd = imd
|
let &imd = imd
|
||||||
endtry
|
endtry
|
||||||
|
|
Loading…
Reference in a new issue