diff --git a/yazi-adapter/src/lib.rs b/yazi-adapter/src/lib.rs index 14304e97..8999cec5 100644 --- a/yazi-adapter/src/lib.rs +++ b/yazi-adapter/src/lib.rs @@ -1,7 +1,7 @@ #![allow(clippy::unit_arg)] yazi_macro::mod_flat!( - adapter, chafa, dimension, emulator, iip, image, kgp, kgp_old, mux, sixel, ueberzug + adapter chafa dimension emulator iip image kgp kgp_old mux sixel ueberzug ); use yazi_shared::{RoCell, env_exists, in_wsl}; diff --git a/yazi-boot/src/actions/mod.rs b/yazi-boot/src/actions/mod.rs index 42b267bc..6a323541 100644 --- a/yazi-boot/src/actions/mod.rs +++ b/yazi-boot/src/actions/mod.rs @@ -1,3 +1,3 @@ #![allow(clippy::module_inception)] -yazi_macro::mod_flat!(actions, clear_cache, debug, version); +yazi_macro::mod_flat!(actions clear_cache debug version); diff --git a/yazi-boot/src/lib.rs b/yazi-boot/src/lib.rs index 331394b8..e4c1279d 100644 --- a/yazi-boot/src/lib.rs +++ b/yazi-boot/src/lib.rs @@ -1,6 +1,6 @@ yazi_macro::mod_pub!(actions); -yazi_macro::mod_flat!(args, boot); +yazi_macro::mod_flat!(args boot); use clap::Parser; use yazi_shared::RoCell; diff --git a/yazi-cli/src/package/mod.rs b/yazi-cli/src/package/mod.rs index 1997faa4..15bb2146 100644 --- a/yazi-cli/src/package/mod.rs +++ b/yazi-cli/src/package/mod.rs @@ -1,6 +1,6 @@ #![allow(clippy::module_inception)] -yazi_macro::mod_flat!(add, deploy, git, install, package, parser, upgrade); +yazi_macro::mod_flat!(add deploy git install package parser upgrade); use anyhow::Context; diff --git a/yazi-config/src/keymap/mod.rs b/yazi-config/src/keymap/mod.rs index ce3f75e8..49ebdda2 100644 --- a/yazi-config/src/keymap/mod.rs +++ b/yazi-config/src/keymap/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(chord, cow, deserializers, key, keymap); +yazi_macro::mod_flat!(chord cow deserializers key keymap); diff --git a/yazi-config/src/manager/mod.rs b/yazi-config/src/manager/mod.rs index 0b575ed4..221344eb 100644 --- a/yazi-config/src/manager/mod.rs +++ b/yazi-config/src/manager/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(manager, mouse, ratio, sorting); +yazi_macro::mod_flat!(manager mouse ratio sorting); diff --git a/yazi-config/src/open/mod.rs b/yazi-config/src/open/mod.rs index 77e69988..4ae31041 100644 --- a/yazi-config/src/open/mod.rs +++ b/yazi-config/src/open/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(open, opener, rule); +yazi_macro::mod_flat!(open opener rule); diff --git a/yazi-config/src/plugin/mod.rs b/yazi-config/src/plugin/mod.rs index 7df6c87a..97efd0eb 100644 --- a/yazi-config/src/plugin/mod.rs +++ b/yazi-config/src/plugin/mod.rs @@ -1,3 +1,3 @@ -yazi_macro::mod_flat!(fetcher, plugin, preloader, previewer); +yazi_macro::mod_flat!(fetcher plugin preloader previewer); pub const MAX_PREWORKERS: u8 = 32; diff --git a/yazi-config/src/popup/mod.rs b/yazi-config/src/popup/mod.rs index f1611bbb..520d083a 100644 --- a/yazi-config/src/popup/mod.rs +++ b/yazi-config/src/popup/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(confirm, input, offset, options, origin, pick, position); +yazi_macro::mod_flat!(confirm input offset options origin pick position); diff --git a/yazi-config/src/preview/mod.rs b/yazi-config/src/preview/mod.rs index de986496..71bc68ab 100644 --- a/yazi-config/src/preview/mod.rs +++ b/yazi-config/src/preview/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(preview, wrap); +yazi_macro::mod_flat!(preview wrap); diff --git a/yazi-config/src/theme/mod.rs b/yazi-config/src/theme/mod.rs index c83e4f80..4de4fb71 100644 --- a/yazi-config/src/theme/mod.rs +++ b/yazi-config/src/theme/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(filetype, flavor, icons, is, theme); +yazi_macro::mod_flat!(filetype flavor icons is theme); diff --git a/yazi-config/src/which/mod.rs b/yazi-config/src/which/mod.rs index f1bdfe23..67ce5a71 100644 --- a/yazi-config/src/which/mod.rs +++ b/yazi-config/src/which/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(sorting, which); +yazi_macro::mod_flat!(sorting which); diff --git a/yazi-core/src/completion/commands/mod.rs b/yazi-core/src/completion/commands/mod.rs index 725cdd0c..e1a77788 100644 --- a/yazi-core/src/completion/commands/mod.rs +++ b/yazi-core/src/completion/commands/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(arrow, close, show, trigger); +yazi_macro::mod_flat!(arrow close show trigger); diff --git a/yazi-core/src/confirm/commands/mod.rs b/yazi-core/src/confirm/commands/mod.rs index 9fcab941..e0fc92ad 100644 --- a/yazi-core/src/confirm/commands/mod.rs +++ b/yazi-core/src/confirm/commands/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(arrow, close, show); +yazi_macro::mod_flat!(arrow close show); diff --git a/yazi-core/src/help/commands/mod.rs b/yazi-core/src/help/commands/mod.rs index cfc4c62e..11f3a072 100644 --- a/yazi-core/src/help/commands/mod.rs +++ b/yazi-core/src/help/commands/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(arrow, escape, filter); +yazi_macro::mod_flat!(arrow escape filter); diff --git a/yazi-core/src/input/commands/mod.rs b/yazi-core/src/input/commands/mod.rs index bd03c07e..6648217c 100644 --- a/yazi-core/src/input/commands/mod.rs +++ b/yazi-core/src/input/commands/mod.rs @@ -1,4 +1,4 @@ yazi_macro::mod_flat!( - backspace, backward, close, complete, delete, escape, forward, insert, kill, move_, paste, redo, - show, type_, undo, visual, yank + backspace backward close complete delete escape forward insert kill move_ paste redo + show type_ undo visual yank ); diff --git a/yazi-core/src/input/mod.rs b/yazi-core/src/input/mod.rs index a6ce5b78..bc6b58ab 100644 --- a/yazi-core/src/input/mod.rs +++ b/yazi-core/src/input/mod.rs @@ -1,3 +1,3 @@ yazi_macro::mod_pub!(commands); -yazi_macro::mod_flat!(input, mode, op, snap, snaps); +yazi_macro::mod_flat!(input mode op snap snaps); diff --git a/yazi-core/src/manager/commands/mod.rs b/yazi-core/src/manager/commands/mod.rs index f6d02117..aba8b14b 100644 --- a/yazi-core/src/manager/commands/mod.rs +++ b/yazi-core/src/manager/commands/mod.rs @@ -1,28 +1,28 @@ yazi_macro::mod_flat!( - bulk_rename, - close, - create, - hardlink, - hover, - link, - open, - paste, - peek, - quit, - refresh, - remove, - rename, - seek, - suspend, - tab_close, - tab_create, - tab_swap, - tab_switch, - unyank, - update_files, - update_mimetype, - update_paged, - update_task, - update_yanked, + bulk_rename + close + create + hardlink + hover + link + open + paste + peek + quit + refresh + remove + rename + seek + suspend + tab_close + tab_create + tab_swap + tab_switch + unyank + update_files + update_mimetype + update_paged + update_task + update_yanked yank ); diff --git a/yazi-core/src/manager/mod.rs b/yazi-core/src/manager/mod.rs index 8cf5fa8d..249f4dbb 100644 --- a/yazi-core/src/manager/mod.rs +++ b/yazi-core/src/manager/mod.rs @@ -1,3 +1,3 @@ yazi_macro::mod_pub!(commands); -yazi_macro::mod_flat!(linked, manager, mimetype, tabs, watcher, yanked); +yazi_macro::mod_flat!(linked manager mimetype tabs watcher yanked); diff --git a/yazi-core/src/notify/commands/mod.rs b/yazi-core/src/notify/commands/mod.rs index b8432b51..b7ec7334 100644 --- a/yazi-core/src/notify/commands/mod.rs +++ b/yazi-core/src/notify/commands/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(push, tick); +yazi_macro::mod_flat!(push tick); diff --git a/yazi-core/src/notify/mod.rs b/yazi-core/src/notify/mod.rs index 9a51e43e..d98ded95 100644 --- a/yazi-core/src/notify/mod.rs +++ b/yazi-core/src/notify/mod.rs @@ -1,6 +1,6 @@ yazi_macro::mod_pub!(commands); -yazi_macro::mod_flat!(message, notify); +yazi_macro::mod_flat!(message notify); pub const NOTIFY_BORDER: u16 = 2; pub const NOTIFY_SPACING: u16 = 1; diff --git a/yazi-core/src/pick/commands/mod.rs b/yazi-core/src/pick/commands/mod.rs index 9fcab941..e0fc92ad 100644 --- a/yazi-core/src/pick/commands/mod.rs +++ b/yazi-core/src/pick/commands/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(arrow, close, show); +yazi_macro::mod_flat!(arrow close show); diff --git a/yazi-core/src/tab/mod.rs b/yazi-core/src/tab/mod.rs index 763352ad..9c34efe4 100644 --- a/yazi-core/src/tab/mod.rs +++ b/yazi-core/src/tab/mod.rs @@ -1,3 +1,3 @@ yazi_macro::mod_pub!(commands); -yazi_macro::mod_flat!(backstack, config, finder, history, mode, preview, selected, tab); +yazi_macro::mod_flat!(backstack config finder history mode preview selected tab); diff --git a/yazi-core/src/tasks/commands/mod.rs b/yazi-core/src/tasks/commands/mod.rs index f1df829e..1c6b43d9 100644 --- a/yazi-core/src/tasks/commands/mod.rs +++ b/yazi-core/src/tasks/commands/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(arrow, cancel, inspect, open_with, process_exec, toggle); +yazi_macro::mod_flat!(arrow cancel inspect open_with process_exec toggle); diff --git a/yazi-core/src/tasks/mod.rs b/yazi-core/src/tasks/mod.rs index 81d84f56..77dff620 100644 --- a/yazi-core/src/tasks/mod.rs +++ b/yazi-core/src/tasks/mod.rs @@ -1,6 +1,6 @@ yazi_macro::mod_pub!(commands); -yazi_macro::mod_flat!(file, plugin, preload, process, progress, tasks); +yazi_macro::mod_flat!(file plugin preload process progress tasks); pub const TASKS_BORDER: u16 = 2; pub const TASKS_PADDING: u16 = 2; diff --git a/yazi-core/src/which/commands/mod.rs b/yazi-core/src/which/commands/mod.rs index 8e7d873c..ab7eaca0 100644 --- a/yazi-core/src/which/commands/mod.rs +++ b/yazi-core/src/which/commands/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(callback, show); +yazi_macro::mod_flat!(callback show); diff --git a/yazi-core/src/which/mod.rs b/yazi-core/src/which/mod.rs index 038e3f24..2ce4088c 100644 --- a/yazi-core/src/which/mod.rs +++ b/yazi-core/src/which/mod.rs @@ -1,3 +1,3 @@ yazi_macro::mod_pub!(commands); -yazi_macro::mod_flat!(sorter, which); +yazi_macro::mod_flat!(sorter which); diff --git a/yazi-dds/src/body/mod.rs b/yazi-dds/src/body/mod.rs index 2d2846dc..a10d53ff 100644 --- a/yazi-dds/src/body/mod.rs +++ b/yazi-dds/src/body/mod.rs @@ -1,5 +1,5 @@ #![allow(clippy::module_inception)] yazi_macro::mod_flat!( - body, bulk, bye, cd, custom, delete, hey, hi, hover, move_, rename, tab, trash, yank + body bulk bye cd custom delete hey hi hover move_ rename tab trash yank ); diff --git a/yazi-dds/src/lib.rs b/yazi-dds/src/lib.rs index f206e762..3f7acb1a 100644 --- a/yazi-dds/src/lib.rs +++ b/yazi-dds/src/lib.rs @@ -2,7 +2,7 @@ yazi_macro::mod_pub!(body); -yazi_macro::mod_flat!(client, payload, pubsub, pump, sendable, server, state, stream); +yazi_macro::mod_flat!(client payload pubsub pump sendable server state stream); pub fn init() { let (tx, rx) = tokio::sync::mpsc::unbounded_channel(); diff --git a/yazi-fm/src/app/commands/mod.rs b/yazi-fm/src/app/commands/mod.rs index 8e118986..8c920955 100644 --- a/yazi-fm/src/app/commands/mod.rs +++ b/yazi-fm/src/app/commands/mod.rs @@ -1,13 +1,13 @@ yazi_macro::mod_flat!( - accept_payload, - mouse, - notify, - plugin, - quit, - render, - resize, - resume, - stop, - update_notify, + accept_payload + mouse + notify + plugin + quit + render + resize + resume + stop + update_notify update_progress ); diff --git a/yazi-fm/src/components/mod.rs b/yazi-fm/src/components/mod.rs index 45c467f8..2b7b0da6 100644 --- a/yazi-fm/src/components/mod.rs +++ b/yazi-fm/src/components/mod.rs @@ -1,3 +1,3 @@ #![allow(clippy::module_inception)] -yazi_macro::mod_flat!(preview, progress); +yazi_macro::mod_flat!(preview progress); diff --git a/yazi-fm/src/confirm/mod.rs b/yazi-fm/src/confirm/mod.rs index 34ffe6ab..b743a906 100644 --- a/yazi-fm/src/confirm/mod.rs +++ b/yazi-fm/src/confirm/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(buttons, confirm, content, list); +yazi_macro::mod_flat!(buttons confirm content list); diff --git a/yazi-fm/src/help/mod.rs b/yazi-fm/src/help/mod.rs index bf28974f..53f65c8a 100644 --- a/yazi-fm/src/help/mod.rs +++ b/yazi-fm/src/help/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(bindings, layout); +yazi_macro::mod_flat!(bindings layout); diff --git a/yazi-fm/src/lives/mod.rs b/yazi-fm/src/lives/mod.rs index a55b4c3f..953601bc 100644 --- a/yazi-fm/src/lives/mod.rs +++ b/yazi-fm/src/lives/mod.rs @@ -1,8 +1,8 @@ #![allow(clippy::module_inception)] yazi_macro::mod_flat!( - config, file, files, filter, finder, folder, iter, lives, mode, preview, selected, tab, tabs, - tasks, yanked + config file files filter finder folder iter lives mode preview selected tab tabs + tasks yanked ); type CtxRef<'lua> = mlua::UserDataRef<'lua, crate::Ctx>; diff --git a/yazi-fm/src/which/mod.rs b/yazi-fm/src/which/mod.rs index 43d97037..2d0635bd 100644 --- a/yazi-fm/src/which/mod.rs +++ b/yazi-fm/src/which/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(cand, layout); +yazi_macro::mod_flat!(cand layout); diff --git a/yazi-fs/src/lib.rs b/yazi-fs/src/lib.rs index 7e206169..16f1b1e0 100644 --- a/yazi-fs/src/lib.rs +++ b/yazi-fs/src/lib.rs @@ -1,3 +1,3 @@ #![allow(clippy::if_same_then_else)] -yazi_macro::mod_flat!(files, filter, folder, sorter, stage, step); +yazi_macro::mod_flat!(files filter folder sorter stage step); diff --git a/yazi-plugin/src/bindings/mod.rs b/yazi-plugin/src/bindings/mod.rs index 58009cb5..703da022 100644 --- a/yazi-plugin/src/bindings/mod.rs +++ b/yazi-plugin/src/bindings/mod.rs @@ -1,3 +1,3 @@ #![allow(clippy::module_inception)] -yazi_macro::mod_flat!(bindings, icon, input, mouse, permit, position, range, window); +yazi_macro::mod_flat!(bindings icon input mouse permit position range window); diff --git a/yazi-plugin/src/elements/mod.rs b/yazi-plugin/src/elements/mod.rs index 31b0fb75..b9c3d144 100644 --- a/yazi-plugin/src/elements/mod.rs +++ b/yazi-plugin/src/elements/mod.rs @@ -1,6 +1,6 @@ #![allow(clippy::module_inception)] yazi_macro::mod_flat!( - bar, border, clear, constraint, elements, gauge, layout, line, list, padding, paragraph, - position, rect, span, style + bar border clear constraint elements gauge layout line list padding paragraph + position rect span style ); diff --git a/yazi-plugin/src/external/mod.rs b/yazi-plugin/src/external/mod.rs index 401e6475..ded3f3b2 100644 --- a/yazi-plugin/src/external/mod.rs +++ b/yazi-plugin/src/external/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(fd, highlighter, rg); +yazi_macro::mod_flat!(fd highlighter rg); diff --git a/yazi-plugin/src/isolate/mod.rs b/yazi-plugin/src/isolate/mod.rs index a9ce95c2..b8b126b6 100644 --- a/yazi-plugin/src/isolate/mod.rs +++ b/yazi-plugin/src/isolate/mod.rs @@ -1,3 +1,3 @@ #![allow(clippy::module_inception)] -yazi_macro::mod_flat!(entry, fetch, isolate, peek, preload, seek); +yazi_macro::mod_flat!(entry fetch isolate peek preload seek); diff --git a/yazi-plugin/src/lib.rs b/yazi-plugin/src/lib.rs index d878fc59..fce69595 100644 --- a/yazi-plugin/src/lib.rs +++ b/yazi-plugin/src/lib.rs @@ -6,7 +6,7 @@ yazi_macro::mod_pub!( bindings, cha, elements, external, file, fs, isolate, loader, process, pubsub, url, utils ); -yazi_macro::mod_flat!(cast, clipboard, config, lua, opt, runtime); +yazi_macro::mod_flat!(cast clipboard config lua opt runtime); pub fn init() -> anyhow::Result<()> { CLIPBOARD.with(<_>::default); diff --git a/yazi-plugin/src/loader/mod.rs b/yazi-plugin/src/loader/mod.rs index 1f5cac6a..e81e9464 100644 --- a/yazi-plugin/src/loader/mod.rs +++ b/yazi-plugin/src/loader/mod.rs @@ -1,6 +1,6 @@ #![allow(clippy::module_inception)] -yazi_macro::mod_flat!(loader, require); +yazi_macro::mod_flat!(loader require); pub(super) fn init() { LOADER.with(<_>::default); } diff --git a/yazi-plugin/src/process/mod.rs b/yazi-plugin/src/process/mod.rs index 7e7f746b..d2a48a7b 100644 --- a/yazi-plugin/src/process/mod.rs +++ b/yazi-plugin/src/process/mod.rs @@ -1,3 +1,3 @@ #![allow(clippy::module_inception)] -yazi_macro::mod_flat!(child, command, output, process, status); +yazi_macro::mod_flat!(child command output process status); diff --git a/yazi-plugin/src/utils/mod.rs b/yazi-plugin/src/utils/mod.rs index c3f27ebb..984b8af3 100644 --- a/yazi-plugin/src/utils/mod.rs +++ b/yazi-plugin/src/utils/mod.rs @@ -1,5 +1,5 @@ #![allow(clippy::module_inception)] yazi_macro::mod_flat!( - app, cache, call, image, layer, log, preview, sync, target, text, time, user, utils + app cache call image layer log preview sync target text time user utils ); diff --git a/yazi-proxy/src/options/mod.rs b/yazi-proxy/src/options/mod.rs index def77466..8750391f 100644 --- a/yazi-proxy/src/options/mod.rs +++ b/yazi-proxy/src/options/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(notify, open, process, search); +yazi_macro::mod_flat!(notify open process search); diff --git a/yazi-scheduler/src/file/mod.rs b/yazi-scheduler/src/file/mod.rs index fa26cdcb..2f172c12 100644 --- a/yazi-scheduler/src/file/mod.rs +++ b/yazi-scheduler/src/file/mod.rs @@ -1,3 +1,3 @@ #![allow(clippy::module_inception)] -yazi_macro::mod_flat!(file, op); +yazi_macro::mod_flat!(file op); diff --git a/yazi-scheduler/src/lib.rs b/yazi-scheduler/src/lib.rs index 61a17f86..024cedce 100644 --- a/yazi-scheduler/src/lib.rs +++ b/yazi-scheduler/src/lib.rs @@ -1,8 +1,8 @@ #![allow(clippy::option_map_unit_fn, clippy::unit_arg)] -yazi_macro::mod_pub!(file, plugin, prework, process); +yazi_macro::mod_pub!(file plugin prework process); -yazi_macro::mod_flat!(ongoing, op, scheduler, task); +yazi_macro::mod_flat!(ongoing op scheduler task); const LOW: u8 = yazi_config::Priority::Low as u8; const NORMAL: u8 = yazi_config::Priority::Normal as u8; diff --git a/yazi-scheduler/src/plugin/mod.rs b/yazi-scheduler/src/plugin/mod.rs index 3b406fa1..be39901f 100644 --- a/yazi-scheduler/src/plugin/mod.rs +++ b/yazi-scheduler/src/plugin/mod.rs @@ -1,3 +1,3 @@ #![allow(clippy::module_inception)] -yazi_macro::mod_flat!(op, plugin); +yazi_macro::mod_flat!(op plugin); diff --git a/yazi-scheduler/src/prework/mod.rs b/yazi-scheduler/src/prework/mod.rs index 89f57992..5e05d3d1 100644 --- a/yazi-scheduler/src/prework/mod.rs +++ b/yazi-scheduler/src/prework/mod.rs @@ -1,3 +1,3 @@ #![allow(clippy::module_inception)] -yazi_macro::mod_flat!(op, prework); +yazi_macro::mod_flat!(op prework); diff --git a/yazi-scheduler/src/process/mod.rs b/yazi-scheduler/src/process/mod.rs index 70cdb6f9..6b2bd01d 100644 --- a/yazi-scheduler/src/process/mod.rs +++ b/yazi-scheduler/src/process/mod.rs @@ -1,3 +1,3 @@ #![allow(clippy::module_inception)] -yazi_macro::mod_flat!(op, process, shell); +yazi_macro::mod_flat!(op process shell); diff --git a/yazi-shared/src/errors/mod.rs b/yazi-shared/src/errors/mod.rs index 4e9e4f21..7393a6da 100644 --- a/yazi-shared/src/errors/mod.rs +++ b/yazi-shared/src/errors/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(input, peek); +yazi_macro::mod_flat!(input peek); diff --git a/yazi-shared/src/event/mod.rs b/yazi-shared/src/event/mod.rs index 41bf7d0d..86f5ad3c 100644 --- a/yazi-shared/src/event/mod.rs +++ b/yazi-shared/src/event/mod.rs @@ -1,5 +1,5 @@ #![allow(clippy::module_inception)] -yazi_macro::mod_flat!(cmd, data, event); +yazi_macro::mod_flat!(cmd data event); pub static NEED_RENDER: std::sync::atomic::AtomicBool = std::sync::atomic::AtomicBool::new(false); diff --git a/yazi-shared/src/fs/mod.rs b/yazi-shared/src/fs/mod.rs index b226c5c9..c8b18d8d 100644 --- a/yazi-shared/src/fs/mod.rs +++ b/yazi-shared/src/fs/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(cha, file, fns, loc, op, path, url, urn); +yazi_macro::mod_flat!(cha file fns loc op path url urn); diff --git a/yazi-shared/src/lib.rs b/yazi-shared/src/lib.rs index 77405a16..fd5b37be 100644 --- a/yazi-shared/src/lib.rs +++ b/yazi-shared/src/lib.rs @@ -1,10 +1,10 @@ #![allow(clippy::option_map_unit_fn)] -yazi_macro::mod_pub!(errors, event, fs, shell, theme, translit); +yazi_macro::mod_pub!(errors event fs shell theme translit); yazi_macro::mod_flat!( - chars, condition, debounce, env, layer, natsort, number, os, rand, ro_cell, terminal, throttle, - time, xdg + chars condition debounce env layer natsort number os rand ro_cell terminal throttle + time xdg ); pub fn init() { diff --git a/yazi-shared/src/theme/mod.rs b/yazi-shared/src/theme/mod.rs index 2f544ac5..4b4ca466 100644 --- a/yazi-shared/src/theme/mod.rs +++ b/yazi-shared/src/theme/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(color, icon, style); +yazi_macro::mod_flat!(color icon style); diff --git a/yazi-shared/src/translit/mod.rs b/yazi-shared/src/translit/mod.rs index 26abf734..356388c8 100644 --- a/yazi-shared/src/translit/mod.rs +++ b/yazi-shared/src/translit/mod.rs @@ -1 +1 @@ -yazi_macro::mod_flat!(table, traits); +yazi_macro::mod_flat!(table traits);