Move the initialization of augroups to then events file

This commit is contained in:
w0rp
2018-06-19 20:31:58 +01:00
parent 3a5887df2c
commit fd261d7a17
5 changed files with 83 additions and 81 deletions

View File

@@ -1,6 +1,6 @@
Before:
function! CheckAutocmd(group)
call ale#autocmd#InitAuGroups()
call ale#events#Init()
redir => l:output
execute 'silent! autocmd ' . a:group
@@ -59,7 +59,7 @@ After:
call ale#completion#Disable()
endif
call ale#autocmd#InitAuGroups()
call ale#events#Init()
Execute (g:ale_lint_on_text_changed = 0 should bind no events):
let g:ale_lint_on_text_changed = 0