mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
15 lines
338 B
Rust
15 lines
338 B
Rust
#![allow(clippy::unit_arg)]
|
|
|
|
mod macros;
|
|
|
|
yazi_macro::mod_pub!(bindings config elements external file fs isolate loader process pubsub url utils);
|
|
|
|
yazi_macro::mod_flat!(clipboard composer error id lua runtime);
|
|
|
|
pub fn init() -> anyhow::Result<()> {
|
|
CLIPBOARD.with(<_>::default);
|
|
|
|
crate::loader::init();
|
|
crate::init_lua()?;
|
|
Ok(())
|
|
}
|