summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 9fac75ee..a0d9b271 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -383,6 +383,7 @@ augroup ALECleanupGroup
autocmd!
" Clean up buffers automatically when they are unloaded.
autocmd BufUnload * call ale#engine#Cleanup(str2nr(expand('<abuf>')))
+ autocmd QuitPre * call ale#events#QuitEvent(str2nr(expand('<abuf>')))
augroup END
" Backwards Compatibility