#904 - Allow linting to run on save a second after :q fails

This commit is contained in:
w0rp
2017-10-17 00:37:29 +01:00
parent 5946a128c3
commit 81d993086e
4 changed files with 54 additions and 6 deletions

View File

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