From f0b5b0b4dfca4188779d1a1a057ea9b25644f41d Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Wed, 22 Jan 2025 11:23:42 +0100 Subject: [PATCH] lsp: Ignore payload of `DidChangeConfiguration` dynamic registration (#23454) Fixes #23430 Closes #23430 Release Notes: - N/A --- crates/project/src/lsp_store.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/project/src/lsp_store.rs b/crates/project/src/lsp_store.rs index ad24c94a45b423bffb6a04b209701cdc5ae29660..ba88b5e48503204468322720daa0f36ef0ce699d 100644 --- a/crates/project/src/lsp_store.rs +++ b/crates/project/src/lsp_store.rs @@ -699,6 +699,9 @@ impl LocalLspStore { anyhow::Ok(()) })??; } + "workspace/didChangeConfiguration" => { + // Ignore payload since we notify clients of setting changes unconditionally, relying on them pulling the latest settings. + } _ => log::warn!("unhandled capability registration: {reg:?}"), } }