have some comments on the global search

pull/8675/merge^2
mattwparas 1 year ago
parent 0b107d6f41
commit 76de40c1ed

@ -2337,6 +2337,8 @@ fn global_search(cx: &mut Context) {
); );
} }
// TODO: Fix this! It is just a copy paste of the above global_search - they should just
// share the same implementation.
fn search_in_directory(cx: &mut Context, search_root: PathBuf) { fn search_in_directory(cx: &mut Context, search_root: PathBuf) {
#[derive(Debug)] #[derive(Debug)]
struct FileResult { struct FileResult {

@ -1127,7 +1127,7 @@ fn configure_engine() -> std::rc::Rc<std::cell::RefCell<steel::steel_vm::engine:
}, },
); );
let mut module = BuiltInModule::new("helix/core/keybindings".to_string()); let module = BuiltInModule::new("helix/core/keybindings".to_string());
// module.register_fn("set-keybindings!", SharedKeyBindingsEventQueue::merge); // module.register_fn("set-keybindings!", SharedKeyBindingsEventQueue::merge);
RegisterFn::< RegisterFn::<

Loading…
Cancel
Save