Merge pull request #1543 from vancluever/f-add-JobStartedAutoCmd

Add ALEJobStarted User autocommand event
This commit is contained in:
w0rp
2018-04-29 20:16:59 +01:00
committed by GitHub
5 changed files with 119 additions and 6 deletions

View File

@@ -2459,7 +2459,15 @@ ALEFixPost *ALEFixPost-autocmd*
autocmd User ALELintPre let s:ale_running = 1 | redrawstatus
autocmd User ALELintPost let s:ale_running = 0 | redrawstatus
augroup end
<
ALEJobStarted *ALEJobStarted-autocmd*
This |User| autocommand is triggered immediately after a job is successfully
run. This provides better accuracy for checking linter status with
|ale#engine#IsCheckingBuffer()| over |ALELintPre-autocmd|, which is actually
triggered before any linters are executed.
===============================================================================
10. Special Thanks *ale-special-thanks*