From 7dfe690b0b626489bfd0ba1eb54ec4ef5769f771 Mon Sep 17 00:00:00 2001 From: Martin Tournoij Date: Sat, 25 Nov 2017 03:36:36 +0000 Subject: [PATCH] Delete to black hole register in fixer Otherwise it'll be in "" and "0, which is an unexpected side-effect IMHO. --- autoload/ale/fix.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/ale/fix.vim b/autoload/ale/fix.vim index 49ea1bba..0a270ecc 100644 --- a/autoload/ale/fix.vim +++ b/autoload/ale/fix.vim @@ -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