Fix #747 - Lint and fix files after they have been been written to disk, not during writing them
This commit is contained in:
parent
505d114a68
commit
7b73204f25
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue