From f825e4ef6e1939c960175ed09c85e6d0bbe21c6a Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 9 Feb 2015 12:09:27 +0900 Subject: [PATCH] Ignore error when the buffer is not properly initialized (#162) --- plug.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug.vim b/plug.vim index 03b7b16..c01e242 100644 --- a/plug.vim +++ b/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)