summaryrefslogtreecommitdiff
path: root/test/lsp/test_lsp_client_messages.vader
diff options
context:
space:
mode:
authorBen Falconer <ben@falconers.me.uk>2018-06-06 16:58:49 +0100
committerBen Falconer <ben@falconers.me.uk>2018-06-06 17:53:36 +0100
commit1a4b08539bf44ef84516d26760093734e0257340 (patch)
treebd43a882f718b250e2219981692ecd126b55ddfe /test/lsp/test_lsp_client_messages.vader
parentc49ea1a5e336f9b9e31a8de362b42f33aa79eb95 (diff)
downloadale-1a4b08539bf44ef84516d26760093734e0257340.zip
Allow initialization options to be passed to language servers
Diffstat (limited to 'test/lsp/test_lsp_client_messages.vader')
-rw-r--r--test/lsp/test_lsp_client_messages.vader3
1 files changed, 2 insertions, 1 deletions
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()