Use blackhole register when deleting lines
This commit is contained in:
parent
6e509db6ff
commit
cabaf7b431
2
plug.vim
2
plug.vim
|
@ -626,7 +626,7 @@ function! s:update_impl(pull, force, args) abort
|
||||||
catch
|
catch
|
||||||
let lines = getline(4, '$')
|
let lines = getline(4, '$')
|
||||||
let printed = {}
|
let printed = {}
|
||||||
silent 4,$d
|
silent 4,$d _
|
||||||
for line in lines
|
for line in lines
|
||||||
let name = get(matchlist(line, '^. \([^:]\+\):'), 1, '')
|
let name = get(matchlist(line, '^. \([^:]\+\):'), 1, '')
|
||||||
if empty(name) || !has_key(printed, name)
|
if empty(name) || !has_key(printed, name)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user