Skip to content

Commit

Permalink
fix: do not stop at first url at goto_file
Browse files Browse the repository at this point in the history
  • Loading branch information
l4l committed Apr 28, 2024
1 parent a1d7997 commit 6c72b68
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 6c72b68

Please sign in to comment.