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 non-null workspaceFolders in initialize (#25337)

Piotr Osiewicza97a2ebf35e0
diff --git a/crates/lsp/src/lsp.rs b/crates/lsp/src/lsp.rs
index 53bb500ac24..fb2ae93799c 100644
--- a/crates/lsp/src/lsp.rs
+++ b/crates/lsp/src/lsp.rs
@@ -791,7 +791,7 @@ impl LanguageServer {
}),
},
trace: None,
- workspace_folders: None,
+ workspace_folders: Some(vec![]),
client_info: release_channel::ReleaseChannel::try_global(cx).map(|release_channel| {
ClientInfo {
name: release_channel.display_name().to_string(),