From 36e4364b8106e824b87e970d4d090ba279b86dc4 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 11 May 2015 12:36:55 +0900 Subject: [PATCH] silent! redraw is simpler --- plug.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug.vim b/plug.vim index 6d76755..fcc9108 100644 --- a/plug.vim +++ b/plug.vim @@ -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' : '') : ''