Fix opening schemas via path args (#47008)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ...
This commit is contained in:
1 parent
44366aaab0
commit
1a06b173cd
1 file changed
+1
@@ -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