Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix opening schemas via path args (#47008)
Ben Kunkle19be78c8d331
diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rsindex 61ac8de6251..b2a90449b8c 100644--- a/crates/zed/src/main.rs+++ b/crates/zed/src/main.rs@@ -1541,6 +1541,7 @@ fn parse_url_arg(arg: &str, cx: &App) -> String {Ok(path) => format!("file://{}", path.display()),Err(_) => {if arg.starts_with("file://")+ || arg.starts_with("zed://")|| arg.starts_with("zed-cli://")|| arg.starts_with("ssh://")|| parse_zed_link(arg, cx).is_some()