style: apply nightly rustfmt import grouping across the workspace
rustfmt.toml sets group_imports, imports_granularity and imports_layout, which are nightly-only; agents formatted with stable rustfmt, which ignored them. This is a formatting-only pass with `cargo +nightly fmt`. Test Plan: - cargo clippy --workspace --all-targets -- -D warnings - cargo test --workspace
This commit is contained in:
1 parent
3fd4ea6ae9
commit
126da77a37
259 files changed
+2495
-1547
No files matched your search
@@ -1,17 +1,35 @@
|
||||
//! Keybinds (port of `Config.Keybinds` from `config/Config.zig`).
|
||||
|
||||
use crate::cli_args::{ArgError, ConfigField};
|
||||
use crate::formatter::EntryFormatter;
|
||||
use ghostty_input::binding::set::EntryFormatter as BindingEntryFormatter;
|
||||
use ghostty_input::binding::set::Value;
|
||||
use ghostty_input::binding::{
|
||||
Action, AdjustSelection, CloseTabMode, CopyToClipboard, Flags, InspectorMode, Set,
|
||||
SplitDirection, SplitFocusDirection, SplitResizeDirection, SplitResizeParameter, Trigger,
|
||||
TriggerKey, WriteScreen,
|
||||
};
|
||||
use ghostty_input::{Key, Mods, ctrl_or_super};
|
||||
use std::fmt;
|
||||
|
||||
use ghostty_input::{
|
||||
Key,
|
||||
Mods,
|
||||
binding::{
|
||||
Action,
|
||||
AdjustSelection,
|
||||
CloseTabMode,
|
||||
CopyToClipboard,
|
||||
Flags,
|
||||
InspectorMode,
|
||||
Set,
|
||||
SplitDirection,
|
||||
SplitFocusDirection,
|
||||
SplitResizeDirection,
|
||||
SplitResizeParameter,
|
||||
Trigger,
|
||||
TriggerKey,
|
||||
WriteScreen,
|
||||
set::{EntryFormatter as BindingEntryFormatter, Value},
|
||||
},
|
||||
ctrl_or_super,
|
||||
};
|
||||
|
||||
use crate::{
|
||||
cli_args::{ArgError, ConfigField},
|
||||
formatter::EntryFormatter,
|
||||
};
|
||||
|
||||
/// The most recent binding target for `chain=` additions.
|
||||
///
|
||||
/// This is intentionally tracked at the Keybinds level so that chains can
|
||||
|
||||
Reference in new issue
Block a user