#817 Move code for toggling ALE to its own file

This commit is contained in:
w0rp 2017-10-28 15:41:14 +01:00
parent 6e681d9066
commit ea3a8e3c62
4 changed files with 178 additions and 136 deletions

View file

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