From 1a4b08539bf44ef84516d26760093734e0257340 Mon Sep 17 00:00:00 2001 From: Ben Falconer Date: Wed, 6 Jun 2018 16:58:49 +0100 Subject: Allow initialization options to be passed to language servers --- test/lsp/test_lsp_client_messages.vader | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/lsp') diff --git a/test/lsp/test_lsp_client_messages.vader b/test/lsp/test_lsp_client_messages.vader index 89a29c8f..e7eda33a 100644 --- a/test/lsp/test_lsp_client_messages.vader +++ b/test/lsp/test_lsp_client_messages.vader @@ -16,9 +16,10 @@ Execute(ale#lsp#message#Initialize() should return correct messages): \ 'processId': getpid(), \ 'rootPath': '/foo/bar', \ 'capabilities': {}, + \ 'initializationOptions': {'foo': 'bar'}, \ } \ ], - \ ale#lsp#message#Initialize('/foo/bar') + \ ale#lsp#message#Initialize('/foo/bar', {'foo': 'bar'}) Execute(ale#lsp#message#Initialized() should return correct messages): AssertEqual [1, 'initialized'], ale#lsp#message#Initialized() -- cgit v1.2.3