From ef244de365489b15d8367cbb65bf832b6df385eb Mon Sep 17 00:00:00 2001 From: Matt Paras Date: Sat, 21 Jun 2025 13:36:56 -0700 Subject: [PATCH] don't set the status as void when the return value is void --- helix-term/src/commands/engine/steel.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/helix-term/src/commands/engine/steel.rs b/helix-term/src/commands/engine/steel.rs index 2e0324617..47b4446ae 100644 --- a/helix-term/src/commands/engine/steel.rs +++ b/helix-term/src/commands/engine/steel.rs @@ -1992,7 +1992,10 @@ impl super::PluginSystem for SteelScriptingEngine { }) }) { Ok(res) => { - cx.editor.set_status(res.to_string()); + if !matches!(&res, SteelVal::Void) { + cx.editor.set_status(res.to_string()); + } + Ok(res) } Err(e) => Err(e),