summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-06-06 17:01:17 +0100
committerw0rp <devw0rp@gmail.com>2017-06-06 17:01:17 +0100
commite88eb6c4157a6f5b517588a632c0dae6eb79fcea (patch)
tree6c9a0a45038a72cf06e77b9088cfb8cd500d6b8b /test
parent3c5156d4a4e700adae32866b5978a941199ade2a (diff)
downloadale-e88eb6c4157a6f5b517588a632c0dae6eb79fcea.zip
Use BufWinEnter for g:ale_lint_on_enter instead
Diffstat (limited to 'test')
-rw-r--r--test/test_ale_init_au_groups.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_ale_init_au_groups.vader b/test/test_ale_init_au_groups.vader
index 503b7c2b..7cc3e6a6 100644
--- a/test/test_ale_init_au_groups.vader
+++ b/test/test_ale_init_au_groups.vader
@@ -112,12 +112,12 @@ Execute (g:ale_lint_on_enter = 0 should bind no events):
AssertEqual [], CheckAutocmd('ALERunOnEnterGroup')
-Execute (g:ale_lint_on_enter = 1 should bind no BufReadPost and BufEnter):
+Execute (g:ale_lint_on_enter = 1 should bind no BufReadPost and BufWinEnter):
let g:ale_lint_on_enter = 1
AssertEqual [
- \ 'BufEnter * call ale#Queue(300, ''lint_file'')',
\ 'BufReadPost * call ale#Queue(300, ''lint_file'')',
+ \ 'BufWinEnter * call ale#Queue(300, ''lint_file'')',
\], CheckAutocmd('ALERunOnEnterGroup')
Execute (g:ale_lint_on_filetype_changed = 0 should bind no events):