summaryrefslogtreecommitdiff
path: root/test/test_autocmd_commands.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-10-28 15:41:14 +0100
committerw0rp <devw0rp@gmail.com>2017-10-28 15:41:14 +0100
commitea3a8e3c62d3051fee9342ece2e04bcd04b392b6 (patch)
tree36507761c15f0264877d9979b0f5a10f91aaa3c3 /test/test_autocmd_commands.vader
parent6e681d9066bde1f2a6b7583fa91e9c94cfffb11e (diff)
downloadale-ea3a8e3c62d3051fee9342ece2e04bcd04b392b6.zip
#817 Move code for toggling ALE to its own file
Diffstat (limited to 'test/test_autocmd_commands.vader')
-rw-r--r--test/test_autocmd_commands.vader5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_autocmd_commands.vader b/test/test_autocmd_commands.vader
index 17e3b16d..6bc3f5cd 100644
--- a/test/test_autocmd_commands.vader
+++ b/test/test_autocmd_commands.vader
@@ -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