summaryrefslogtreecommitdiff
path: root/plugin/ale.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-07-11 22:19:26 +0100
committerw0rp <devw0rp@gmail.com>2017-07-11 22:19:26 +0100
commit7b73204f25dd7778e765009bff05d85c90b5f534 (patch)
treef4498c5e3fce28c85b1eb5d8dd896ce105ad399f /plugin/ale.vim
parent505d114a68f18cd018e2f92a47b024370bd7dde3 (diff)
downloadale-7b73204f25dd7778e765009bff05d85c90b5f534.zip
Fix #747 - Lint and fix files after they have been been written to disk, not during writing them
Diffstat (limited to 'plugin/ale.vim')
-rw-r--r--plugin/ale.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 50735753..00c24ce6 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -239,7 +239,7 @@ function! ALEInitAuGroups() abort
augroup ALERunOnSaveGroup
autocmd!
if (g:ale_enabled && g:ale_lint_on_save) || g:ale_fix_on_save
- autocmd BufWrite * call ale#events#SaveEvent()
+ autocmd BufWritePost * call ale#events#SaveEvent()
endif
augroup END