mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-16 09:17:07 +08:00
Fix #2497 - ALE should not lint on save when disabled after fixing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user