Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
lsp: Do not add trailing slash to workspace folders (#25903)
Piotr Osiewicz0e44f9317824
diff --git a/crates/project/src/lsp_store.rs b/crates/project/src/lsp_store.rsindex 0be83a6a6bb..3c3dc7b2db7 100644--- a/crates/project/src/lsp_store.rs+++ b/crates/project/src/lsp_store.rs@@ -1917,7 +1917,7 @@ impl LocalLspStore {}}language::Attach::Shared => {- let uri = Url::from_directory_path(+ let uri = Url::from_file_path(worktree.read(cx).abs_path().join(&path.path),);let key = (worktree_id, server_name.clone());@@ -3825,7 +3825,7 @@ impl LspStore {}}language::Attach::Shared => {- let uri = Url::from_directory_path(+ let uri = Url::from_file_path(worktree.read(cx).abs_path().join(&path.path),);let key = (worktree_id, server_name.clone());