summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-05-13 13:44:29 +0100
committerw0rp <devw0rp@gmail.com>2019-05-13 13:44:29 +0100
commit42cbff29f8613729cfd9c26db9ed55a0bf484f2c (patch)
tree638603b144284ce270b0b03c13ea261189fe0e26 /autoload
parentbf17bbf898da6763e305a3e92f041532221719b0 (diff)
downloadale-42cbff29f8613729cfd9c26db9ed55a0bf484f2c.zip
Fix #2497 - ALE should not lint on save when disabled after fixing
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/fix.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/ale/fix.vim b/autoload/ale/fix.vim
index 92ae3e14..49e650c7 100644
--- a/autoload/ale/fix.vim
+++ b/autoload/ale/fix.vim
@@ -42,6 +42,7 @@ function! ale#fix#ApplyQueuedFixes() abort
if l:data.should_save
let l:should_lint = g:ale_fix_on_save
+ \ && ale#Var(l:buffer, 'lint_on_save')
else
let l:should_lint = l:data.changes_made
endif