From 48bcc7b9710d6db619b05254ea87f4087cdd9764 Mon Sep 17 00:00:00 2001 From: Chris Simon Date: Tue, 14 Nov 2023 05:39:43 +1100 Subject: [PATCH] fix(lsp): advertise workspace.didChangeConfiguration capability (#26028) This ensures workspace/didChangeConfiguration notification sent after init is correctly handled --- runtime/lua/vim/lsp/protocol.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua index e2396e9a5f..a7c3914834 100644 --- a/runtime/lua/vim/lsp/protocol.lua +++ b/runtime/lua/vim/lsp/protocol.lua @@ -855,6 +855,9 @@ function protocol.make_client_capabilities() }, }, configuration = true, + didChangeConfiguration = { + dynamicRegistration = false, + }, workspaceFolders = true, applyEdit = true, workspaceEdit = {