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!",
|
"log::info!",
|
||||||
"fuzzy-match",
|
"fuzzy-match",
|
||||||
"helix-find-workspace",
|
"helix-find-workspace",
|
||||||
|
"find-workspace",
|
||||||
"doc-id->usize",
|
"doc-id->usize",
|
||||||
"new-component!",
|
"new-component!",
|
||||||
"acquire-context-lock",
|
"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()
|
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);
|
engine.register_fn("doc-id->usize", document_id_to_usize);
|
||||||
|
|
||||||
// TODO: Remove that this is now in helix/core/misc
|
// TODO: Remove that this is now in helix/core/misc
|
||||||
|
|
Loading…
Reference in New Issue