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: Enable dynamic registration for TextDocumentSyncClientCapabilities post revert (#36494)

Smit Barmase43b4363b34ce
diff --git a/crates/lsp/src/lsp.rs b/crates/lsp/src/lsp.rs
index 366005a4abf..ce9e2fe229c 100644
--- a/crates/lsp/src/lsp.rs
+++ b/crates/lsp/src/lsp.rs
@@ -827,7 +827,7 @@ impl LanguageServer {
}),
synchronization: Some(TextDocumentSyncClientCapabilities {
did_save: Some(true),
- dynamic_registration: Some(false),
+ dynamic_registration: Some(true),
..TextDocumentSyncClientCapabilities::default()
}),
code_lens: Some(CodeLensClientCapabilities {