Skip to content

Commit

Permalink
Clear message on retry
Browse files Browse the repository at this point in the history
Close #459
  • Loading branch information
junegunn committed Mar 31, 2016
1 parent 36973de commit 76e9076
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plug.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 76e9076

Please sign in to comment.