summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-10-14 23:22:13 +0100
committerw0rp <devw0rp@gmail.com>2017-10-14 23:22:13 +0100
commitef495ba32db2b0c21e73e2ef0034de6888854587 (patch)
tree75b3701d9dbc4d4cdac0c991b921a0dbd776897a /plugin
parent010ebc2459d2ce72d8c264737a9faa4ac694dbe5 (diff)
downloadale-ef495ba32db2b0c21e73e2ef0034de6888854587.zip
#904 Do not run linters on :wq or :x
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