Ver código fonte

silent! redraw is simpler

Junegunn Choi 10 anos atrás
pai
commit
36e4364b81
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      plug.vim

+ 1 - 1
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' : '') : ''