Clean up ALE linter buffer data when buffers are deleted, not unloaded
This commit is contained in:
parent
d2bea5c310
commit
f74e22b938
3 changed files with 14 additions and 15 deletions
|
@ -285,7 +285,7 @@ call ale#toggle#InitAuGroups()
|
|||
augroup ALECleanupGroup
|
||||
autocmd!
|
||||
" Clean up buffers automatically when they are unloaded.
|
||||
autocmd BufUnload * call ale#engine#Cleanup(str2nr(expand('<abuf>')))
|
||||
autocmd BufDelete * call ale#engine#Cleanup(str2nr(expand('<abuf>')))
|
||||
autocmd QuitPre * call ale#events#QuitEvent(str2nr(expand('<abuf>')))
|
||||
augroup END
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue