diff --git a/crates/gitbutler-tauri/src/open.rs b/crates/gitbutler-tauri/src/open.rs index 4e806fdf9..d0c839402 100644 --- a/crates/gitbutler-tauri/src/open.rs +++ b/crates/gitbutler-tauri/src/open.rs @@ -6,7 +6,7 @@ use url::Url; pub(crate) fn open_that(path: &str) -> anyhow::Result<()> { let target_url = Url::parse(path).with_context(|| format!("Invalid path format: '{path}'"))?; - if !["http", "https", "mailto", "vscode", "vscodium"].contains(&target_url.scheme()) { + if !["http", "https", "mailto", "vscode", "vscodium", "zed"].contains(&target_url.scheme()) { bail!("Invalid path scheme: {}", target_url.scheme()); }