Fix opening schemas via path args (#47008)

Closes #ISSUE

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Ben Kunkle authored and GitHub committed 2026-01-16 16:39:16 +00:00
1 parent 44366aaab0
commit 1a06b173cd
1 file changed
+1
+1
View File
@@ -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()