Improve update logic after ale finished
Previously the ale refresh was triggered after user interactions only. When linting takes some time and the user is not actively working the ale information was not updated while the things ale directly controls were updated. This change makes showing linting results a loot smoother.
This commit is contained in:
parent
f045452743
commit
3f34ff56b8
|
@ -74,6 +74,7 @@ function! airline#extensions#ale#init(ext)
|
|||
augroup airline_ale
|
||||
autocmd!
|
||||
autocmd CursorHold,BufWritePost * call <sid>ale_refresh()
|
||||
autocmd User ALEJobStarted,ALELintPost call <sid>ale_refresh()
|
||||
augroup END
|
||||
endfunction
|
||||
|
||||
|
|
Loading…
Reference in New Issue