Skip to content

Commit

Permalink
fix: do not stop at first url at goto_file (helix-editor#10622)
Browse files Browse the repository at this point in the history
  • Loading branch information
l4l authored and Vulpesx committed Jun 7, 2024
1 parent 959f61a commit 621aead
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helix-term/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 621aead

Please sign in to comment.