R to retry interrupted tasks as well

This commit is contained in:
Junegunn Choi 2014-07-23 11:46:29 +09:00
parent 0b31be49cf
commit 5b2c03d3a8

View file

@ -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