mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-22 00:20:23 +01:00
Fix opening schemas via path args (#47008)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ...
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user