Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
lsp: Treat unrooted paths as relative to the worktree root (#17769)
Piotr Osiewiczb9b62842f8e9
diff --git a/crates/project/src/lsp_store.rs b/crates/project/src/lsp_store.rsindex 307e86de450..cdf1fa4be49 100644--- a/crates/project/src/lsp_store.rs+++ b/crates/project/src/lsp_store.rs@@ -3499,7 +3499,7 @@ impl LspStore {.to_owned();let path = if Path::new(path).components().next().is_none(){- Arc::from(Path::new("/"))+ Arc::from(Path::new(worktree_root_path))} else {PathBuf::from(path).into()};