From b731bd77abca29064600c01ad8df7d7d1033fc7a Mon Sep 17 00:00:00 2001 From: w0rp Date: Sun, 2 Jul 2017 00:28:00 +0100 Subject: Get automatic completion with tsserver to work --- test/lsp/test_lsp_client_messages.vader | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/lsp/test_lsp_client_messages.vader') diff --git a/test/lsp/test_lsp_client_messages.vader b/test/lsp/test_lsp_client_messages.vader index 3b5c64fa..abf733ca 100644 --- a/test/lsp/test_lsp_client_messages.vader +++ b/test/lsp/test_lsp_client_messages.vader @@ -158,9 +158,10 @@ Execute(ale#lsp#tsserver_message#Completions() should return correct messages): \ 'file': b:dir . '/foo.ts', \ 'line': 347, \ 'offset': 12, + \ 'prefix': 'abc', \ } \ ], - \ ale#lsp#tsserver_message#Completions(bufnr(''), 347, 12) + \ ale#lsp#tsserver_message#Completions(bufnr(''), 347, 12, 'abc') Execute(ale#lsp#tsserver_message#CompletionEntryDetails() should return correct messages): silent! noautocmd file foo.ts -- cgit v1.2.3