Fix #2497 - ALE should not lint on save when disabled after fixing

This commit is contained in:
w0rp
2019-05-13 13:44:29 +01:00
parent bf17bbf898
commit 42cbff29f8
3 changed files with 51 additions and 2 deletions

View File

@@ -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