mirror of https://github.com/helix-editor/helix
fix command and arg parsing with typed commands
parent
6e8fa50957
commit
85eab83d70
|
@ -3657,7 +3657,7 @@ fn execute_command_line(
|
||||||
None if event == PromptEvent::Validate => {
|
None if event == PromptEvent::Validate => {
|
||||||
let parts = rest.split_whitespace().collect::<Vec<_>>();
|
let parts = rest.split_whitespace().collect::<Vec<_>>();
|
||||||
|
|
||||||
if ScriptingEngine::call_typed_command(cx, input, &parts, event) {
|
if ScriptingEngine::call_typed_command(cx, command, &parts, event) {
|
||||||
// Engine handles the other cases
|
// Engine handles the other cases
|
||||||
if event == PromptEvent::Validate {
|
if event == PromptEvent::Validate {
|
||||||
let mappable_command = MappableCommand::Typable {
|
let mappable_command = MappableCommand::Typable {
|
||||||
|
|
Loading…
Reference in New Issue