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 a9ab88a1..d33f3c5a 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -226,6 +226,7 @@ function! ALEInitAuGroups() abort
autocmd BufWinEnter,BufRead * call ale#Queue(0, 'lint_file', str2nr(expand('<abuf>')))
" Track when the file is changed outside of Vim.
autocmd FileChangedShellPost * call ale#events#FileChangedEvent(str2nr(expand('<abuf>')))
+ autocmd BufWinLeave * call ale#events#BufWinLeave()
endif
augroup END