Use blackhole register when deleting lines

This commit is contained in:
Junegunn Choi 2014-09-15 21:02:08 +09:00
parent 6e509db6ff
commit cabaf7b431

View File

@ -626,7 +626,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 = get(matchlist(line, '^. \([^:]\+\):'), 1, '')
if empty(name) || !has_key(printed, name)