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 {