mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-13 05:31:49 +08:00
#904 - Allow linting to run on save a second after :q fails
This commit is contained in:
@@ -58,7 +58,7 @@ function! ale#fix#ApplyQueuedFixes() abort
|
||||
" fixing problems.
|
||||
if g:ale_enabled
|
||||
\&& l:should_lint
|
||||
\&& !getbufvar(l:buffer, 'ale_quitting')
|
||||
\&& !ale#events#QuitRecently(l:buffer)
|
||||
call ale#Queue(0, l:data.should_save ? 'lint_file' : '')
|
||||
endif
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user