Unnamed repository; edit this file 'description' to name the repository.
fix: do not stop at first url at goto_file (#10622)
Kitsu 2024-04-29
parent 8db9301 · commit ec22479
-rw-r--r--helix-term/src/commands.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 8610a204..7be2ea09 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -1256,7 +1256,8 @@ fn goto_file_impl(cx: &mut Context, action: Action) {
}
if let Ok(url) = Url::parse(p) {
- return open_url(cx, url, action);
+ open_url(cx, url, action);
+ continue;
}
let path = &rel_path.join(p);