From 06046c16cdd4b9ed1d849a1dd4e2e9143c3d9bfe Mon Sep 17 00:00:00 2001 From: "Alexis (Poliorcetics) Bourget" Date: Sat, 6 Apr 2024 22:13:00 +0200 Subject: [PATCH] fix: correctly open URLs surrounded by `<>` --- helix-term/src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 7f43fa9cea94..6a515da03543 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -1207,7 +1207,7 @@ fn goto_file_impl(cx: &mut Context, action: Action) { true, ); // Trims some surrounding chars so that the actual file is opened. - let surrounding_chars: &[_] = &['\'', '"', '(', ')']; + let surrounding_chars: &[_] = &['\'', '"', '(', ')', '<', '>']; paths.clear(); paths.push( current_word