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