summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-08-20 13:27:18 +0100
committerw0rp <devw0rp@gmail.com>2017-08-20 13:27:18 +0100
commit753cf5da95fa4c64e31c7e3fbfcd0227c89791c1 (patch)
tree604ec1f6c0fb27e81a9757cb7f2bd9403273e315 /plugin
parente5d0a17694897dc8e234f534cfa33fc3483d8e12 (diff)
downloadale-753cf5da95fa4c64e31c7e3fbfcd0227c89791c1.zip
#653 - Automatically accept annoying loclist and quickfix errors from Vim
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