mirror of https://github.com/helix-editor/helix
rename workspace function
parent
94927711b4
commit
c0bb7c29cd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue