silent! redraw is simpler

This commit is contained in:
Junegunn Choi 2015-05-11 12:36:55 +09:00
parent 76ec644114
commit 36e4364b81

View file

@ -764,7 +764,7 @@ function! s:update_impl(pull, force, args) abort
call s:prepare()
call append(0, ['', ''])
normal! 2G
try | redraw | catch | endtry
silent! redraw
let s:clone_opt = get(g:, 'plug_shallow', 1) ?
\ '--depth 1' . (s:git_version_requirement(1, 7, 10) ? ' --no-single-branch' : '') : ''