Clear message on retry

Close #459
This commit is contained in:
Junegunn Choi 2016-03-31 23:06:11 +09:00
parent 36973defbd
commit 76e9076ef4

View File

@ -660,7 +660,7 @@ function! s:switch_out(...)
endfunction
function! s:finish_bindings()
nnoremap <silent> <buffer> R :silent! call <SID>retry()<cr>
nnoremap <silent> <buffer> R :call <SID>retry()<cr>
nnoremap <silent> <buffer> D :PlugDiff<cr>
nnoremap <silent> <buffer> S :PlugStatus<cr>
nnoremap <silent> <buffer> U :call <SID>status_update()<cr>
@ -812,6 +812,7 @@ function! s:retry()
if empty(s:update.errors)
return
endif
echo
call s:update_impl(s:update.pull, s:update.force,
\ extend(copy(s:update.errors), [s:update.threads]))
endfunction