summaryrefslogtreecommitdiff
path: root/test/completion/test_omnifunc_completion.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/completion/test_omnifunc_completion.vader')
-rw-r--r--test/completion/test_omnifunc_completion.vader12
1 files changed, 1 insertions, 11 deletions
diff --git a/test/completion/test_omnifunc_completion.vader b/test/completion/test_omnifunc_completion.vader
index 221d337f..3711f974 100644
--- a/test/completion/test_omnifunc_completion.vader
+++ b/test/completion/test_omnifunc_completion.vader
@@ -1,7 +1,5 @@
Before:
unlet! b:ale_completion_info
- unlet! b:ale_completion_response
- unlet! b:ale_completion_parser
unlet! b:ale_completion_result
let b:lsp_started = 0
@@ -12,27 +10,19 @@ Before:
return b:lsp_started
endfunction
- function! Identity(x) abort
- return a:x
- endfunction
-
function! SetCompletionResult(...) abort
let b:ale_completion_result = ['foo']
endfunction
function! SetCompletionResponse(...) abort
- let b:ale_completion_response = ['foo']
- let b:ale_completion_parser = 'Identity'
+ let b:ale_completion_result = ['foo']
endfunction
After:
unlet! b:ale_completion_info
- unlet! b:ale_completion_response
- unlet! b:ale_completion_parser
unlet! b:ale_completion_result
unlet! b:lsp_started
- delfunction Identity
delfunction SetCompletionResult
delfunction SetCompletionResponse