Skip to content

Commit

Permalink
fix: do not stop at first url at goto_file (#10622)
Browse files Browse the repository at this point in the history
  • Loading branch information
l4l committed Apr 29, 2024
1 parent 8db9301 commit ec22479
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 ec22479

Please sign in to comment.