Skip to main content

yazi_runner/
lib.rs

1yazi_macro::mod_pub!(entry fetcher loader preloader previewer);
2
3yazi_macro::mod_flat!(runner spot);
4
5pub static RUNNER: yazi_shim::cell::RoCell<Runner> = yazi_shim::cell::RoCell::new();
6
7pub fn init(setter: fn(&mlua::Lua) -> mlua::Result<()>) {
8	crate::loader::init();
9
10	RUNNER.init(Runner { setter });
11}