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: Send client process ID in LSP initialize request (#43988)

Shuhei Kadowaki4f5cc0a24b89
diff --git a/crates/lsp/src/lsp.rs b/crates/lsp/src/lsp.rs
index 1bc635dcbec..edfe2fec8c6 100644
--- a/crates/lsp/src/lsp.rs
+++ b/crates/lsp/src/lsp.rs
@@ -667,7 +667,7 @@ impl LanguageServer {
#[allow(deprecated)]
InitializeParams {
- process_id: None,
+ process_id: Some(std::process::id()),
root_path: None,
root_uri: Some(self.root_uri.clone()),
initialization_options: None,