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),