소스 검색

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

Junegunn Choi 11 년 전
부모
커밋
f825e4ef6e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)