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

This commit is contained in:
Junegunn Choi 2015-02-09 12:09:27 +09:00
parent 6e7509e2ef
commit f825e4ef6e

View file

@ -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)