aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-01-01 21:51:15 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2023-01-01 21:51:15 +0100
commitefd7c43d35d8ddd415e6fabe83cd79e564477409 (patch)
tree6d8e90990481739c330976484baf55ff27cef1d1
parent8e90351411d0312493c56d59058785d11b282145 (diff)
downloadvis-lspc-efd7c43d35d8ddd415e6fabe83cd79e564477409.tar.gz
vis-lspc-efd7c43d35d8ddd415e6fabe83cd79e564477409.zip
fix passed InitializeParams
Correct the name of two parameters and ensure that the required parameter 'rootUri' is always set to null.
-rw-r--r--init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index a6dd4c1..0d27925 100644
--- a/init.lua
+++ b/init.lua
@@ -1138,9 +1138,9 @@ local function ls_start_server(syntax)
end)
local params = {
- processID = vis_pid,
- client = {name = lspc.name, version = lspc.version},
- rootUri = nil,
+ processId = vis_pid,
+ clientInfo = {name = lspc.name, version = lspc.version},
+ rootUri = json.null,
capabilities = client_capabilites,
}