yazi-runner 26.5.6

Yazi Lua runner
Documentation
1
2
3
4
5
6
7
8
9
10
11
yazi_macro::mod_pub!(entry fetcher loader preloader previewer);

yazi_macro::mod_flat!(runner spot);

pub static RUNNER: yazi_shim::cell::RoCell<Runner> = yazi_shim::cell::RoCell::new();

pub fn init(setter: fn(&mlua::Lua) -> mlua::Result<()>) {
	crate::loader::init();

	RUNNER.init(Runner { setter });
}