Explorar o código

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

Junegunn Choi %!s(int64=11) %!d(string=hai) anos
pai
achega
f825e4ef6e
Modificáronse 1 ficheiros con 1 adicións e 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)