Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

lsp: Ignore payload of `DidChangeConfiguration` dynamic registration (#23454)

Piotr Osiewiczf0b5b0b4dfca
diff --git a/crates/project/src/lsp_store.rs b/crates/project/src/lsp_store.rs
index ad24c94a45b..ba88b5e4850 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:?}"),
}
}