Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
eslint: Fix `workspaceFolder.uri` sent as raw path instead of `file:/… (#54383)
YangChengxxyy7fcc4ba3438e
diff --git a/crates/languages/src/eslint.rs b/crates/languages/src/eslint.rsindex 7ef55c64ef1..e9b94380191 100644--- a/crates/languages/src/eslint.rs+++ b/crates/languages/src/eslint.rs@@ -254,7 +254,9 @@ impl LspAdapter for EsLintLspAdapter {"mode": "auto"},"workspaceFolder": {- "uri": worktree_root,+ "uri": Uri::from_file_path(worktree_root)+ .map(|uri| uri.as_str().to_owned())+ .unwrap_or_default(),"name": worktree_root.file_name().unwrap_or(worktree_root.as_os_str()).to_string_lossy(),