From 381fff0e4c0c7c5057ed0d114169fac3a419ff85 Mon Sep 17 00:00:00 2001 From: w0rp Date: Tue, 4 Jun 2019 21:51:44 +0100 Subject: Make ale_lint_on_save work with b:ale_fix_on_save = 1 --- autoload/ale/fix.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoload') diff --git a/autoload/ale/fix.vim b/autoload/ale/fix.vim index 2b9555bf..9987fbdd 100644 --- a/autoload/ale/fix.vim +++ b/autoload/ale/fix.vim @@ -54,7 +54,7 @@ function! ale#fix#ApplyQueuedFixes(buffer) abort endif if l:data.should_save - let l:should_lint = g:ale_fix_on_save + let l:should_lint = ale#Var(a:buffer, 'fix_on_save') \ && ale#Var(a:buffer, 'lint_on_save') else let l:should_lint = l:data.changes_made -- cgit v1.2.3