Merge pull request #1811 from LarsMichelsen/update_post_ale

Improve update logic after ale finished
This commit is contained in:
Christian Brabandt 2018-10-16 10:56:49 +02:00 committed by GitHub
commit 7e004804d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,6 +74,7 @@ function! airline#extensions#ale#init(ext)
augroup airline_ale augroup airline_ale
autocmd! autocmd!
autocmd CursorHold,BufWritePost * call <sid>ale_refresh() autocmd CursorHold,BufWritePost * call <sid>ale_refresh()
autocmd User ALEJobStarted,ALELintPost call <sid>ale_refresh()
augroup END augroup END
endfunction endfunction