summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/fix.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/fix.vim b/autoload/ale/fix.vim
index b2ca2575..a674e75c 100644
--- a/autoload/ale/fix.vim
+++ b/autoload/ale/fix.vim
@@ -31,7 +31,7 @@ function! ale#fix#ApplyQueuedFixes() abort
let l:start_line = len(l:data.output) + 1
let l:end_line = len(l:lines)
- if l:end_line > l:start_line
+ if l:end_line >= l:start_line
let l:save = winsaveview()
silent execute l:start_line . ',' . l:end_line . 'd'
call winrestview(l:save)