From 85eab83d70a4b23a52757726cff2fbdc76bab009 Mon Sep 17 00:00:00 2001 From: Matt Paras Date: Sat, 19 Apr 2025 09:01:40 -0700 Subject: [PATCH] fix command and arg parsing with typed commands --- helix-term/src/commands/typed.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs index fe897e354..df701a6de 100644 --- a/helix-term/src/commands/typed.rs +++ b/helix-term/src/commands/typed.rs @@ -3657,7 +3657,7 @@ fn execute_command_line( None if event == PromptEvent::Validate => { let parts = rest.split_whitespace().collect::>(); - if ScriptingEngine::call_typed_command(cx, input, &parts, event) { + if ScriptingEngine::call_typed_command(cx, command, &parts, event) { // Engine handles the other cases if event == PromptEvent::Validate { let mappable_command = MappableCommand::Typable {