mirror of https://github.com/helix-editor/helix
don't set the status as void when the return value is void
parent
45480fc6be
commit
ef244de365
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue