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
1 changed files with 1 additions and 1 deletions

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