Delete to black hole register in fixer

Otherwise it'll be in "" and "0, which is an unexpected side-effect
IMHO.
This commit is contained in:
Martin Tournoij 2017-11-25 03:36:36 +00:00
parent f99b027cc6
commit 7dfe690b0b
No known key found for this signature in database
GPG key ID: A6258419189EE585

View file

@ -35,7 +35,7 @@ function! ale#fix#ApplyQueuedFixes() abort
if l:end_line >= l:start_line
let l:save = winsaveview()
silent execute l:start_line . ',' . l:end_line . 'd'
silent execute l:start_line . ',' . l:end_line . 'd_'
call winrestview(l:save)
endif