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:
parent
f99b027cc6
commit
7dfe690b0b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user