summaryrefslogtreecommitdiff
path: root/test/completion/test_completion_events.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/completion/test_completion_events.vader')
-rw-r--r--test/completion/test_completion_events.vader5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/completion/test_completion_events.vader b/test/completion/test_completion_events.vader
index 30bf603c..1b760e2c 100644
--- a/test/completion/test_completion_events.vader
+++ b/test/completion/test_completion_events.vader
@@ -11,6 +11,10 @@ Before:
let g:feedkeys_calls = []
let g:fake_mode = 'i'
+ let b:ale_linters = {
+ \ 'typescript': ['tsserver'],
+ \}
+
let &l:completeopt = 'menu,menuone,preview,noselect,noinsert'
runtime autoload/ale/util.vim
@@ -69,6 +73,7 @@ After:
unlet! b:ale_completion_info
unlet! b:ale_completion_result
unlet! b:ale_complete_done_time
+ unlet! b:ale_linters
delfunction CheckCompletionCalled
delfunction ale#code_action#HandleCodeAction