From a5cd316fb9090b9aa98d78e566f2caf67e9cc4f0 Mon Sep 17 00:00:00 2001 From: TornaxO7 Date: Sat, 24 Feb 2024 19:44:17 +0100 Subject: [PATCH] allow numeric-values in path for goto-file --- 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 6b75c2617c5e..d3607513dfb7 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -1189,7 +1189,7 @@ fn goto_file_impl(cx: &mut Context, action: Action) { } else { &['@', '/', '.', '-', '_', '+', '#', '$', '%', '~', '='] }; - valid_chars.contains(c) || c.is_alphabetic() + valid_chars.contains(c) || c.is_alphabetic() || c.is_numeric() }; let cursor_pos = primary.cursor(text.slice(..));