From efd7c43d35d8ddd415e6fabe83cd79e564477409 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 1 Jan 2023 21:51:15 +0100 Subject: fix passed InitializeParams Correct the name of two parameters and ensure that the required parameter 'rootUri' is always set to null. --- init.lua | 6 +++--- 1 file 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, } -- cgit v1.2.3