diff options
author | w0rp <devw0rp@gmail.com> | 2017-12-19 15:35:57 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-12-19 15:35:57 +0000 |
commit | f74e22b938798a6bd64e6fa55754c3e7e28285dd (patch) | |
tree | bec21085182ce55e0666a92f1593739f0b2a0dc7 /plugin/ale.vim | |
parent | d2bea5c3101e9f198492efb8ca294e63e62415a4 (diff) | |
download | ale-f74e22b938798a6bd64e6fa55754c3e7e28285dd.zip |
Clean up ALE linter buffer data when buffers are deleted, not unloaded
Diffstat (limited to 'plugin/ale.vim')
-rw-r--r-- | plugin/ale.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim index a07915f7..2f613b53 100644 --- a/plugin/ale.vim +++ b/plugin/ale.vim @@ -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 |