mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 20:54:26 +08:00
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:
@@ -35,7 +35,7 @@ function! ale#fix#ApplyQueuedFixes() abort
|
|||||||
|
|
||||||
if l:end_line >= l:start_line
|
if l:end_line >= l:start_line
|
||||||
let l:save = winsaveview()
|
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)
|
call winrestview(l:save)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user