Explorar el Código

Ignore error when the buffer is not properly initialized (#162)

Junegunn Choi hace 11 años
padre
commit
f825e4ef6e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      plug.vim

+ 1 - 1
plug.vim

@@ -736,7 +736,7 @@ function! s:update_impl(pull, force, args) abort
     catch
       let lines = getline(4, '$')
       let printed = {}
-      silent 4,$d _
+      silent! 4,$d _
       for line in lines
         let name = s:extract_name(line, '.', '')
         if empty(name) || !has_key(printed, name)