diff --git a/helix-term/src/commands/engine/steel.rs b/helix-term/src/commands/engine/steel.rs index e0c42acee..9a8a64743 100644 --- a/helix-term/src/commands/engine/steel.rs +++ b/helix-term/src/commands/engine/steel.rs @@ -2614,6 +2614,7 @@ fn configure_lsp_globals() { "log::info!", "fuzzy-match", "helix-find-workspace", + "find-workspace", "doc-id->usize", "new-component!", "acquire-context-lock", @@ -3252,6 +3253,11 @@ fn configure_engine_impl(mut engine: Engine) -> Engine { helix_core::find_workspace().0.to_str().unwrap().to_string() }); + // TODO: Deprecate the above + engine.register_fn("find-worksapce", || { + helix_core::find_workspace().0.to_str().unwrap().to_string() + }); + engine.register_fn("doc-id->usize", document_id_to_usize); // TODO: Remove that this is now in helix/core/misc