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
81d4119d85
commit
8bcb85a29a
259 files changed
+2495
-1547
No files matched your search
@@ -4,8 +4,13 @@ use std::fmt::Write as _;
|
||||
|
||||
use ghostty_config::cli_args::FieldKind;
|
||||
|
||||
use crate::chunks_bash::{C0, C1, C2, C3, C4, C5, C6};
|
||||
use crate::{actions, config_fields, join_names, join_packed};
|
||||
use crate::{
|
||||
actions,
|
||||
chunks_bash::{C0, C1, C2, C3, C4, C5, C6},
|
||||
config_fields,
|
||||
join_names,
|
||||
join_packed,
|
||||
};
|
||||
|
||||
const COMPGEN_PREFIX: &str = "_compreply compgen -W \"";
|
||||
const COMPGEN_SUFFIX: &str = "\" -- \"$cur\"; _add_spaces ;;";
|
||||
|
||||
@@ -8,9 +8,7 @@
|
||||
#![cfg_attr(test, allow(clippy::expect_used))]
|
||||
|
||||
use ghostty_cli::Action;
|
||||
use ghostty_config::cli_args::FieldKind;
|
||||
use ghostty_config::config::Config;
|
||||
use ghostty_config::macros::ConfigStruct;
|
||||
use ghostty_config::{cli_args::FieldKind, config::Config, macros::ConfigStruct};
|
||||
|
||||
pub mod bash;
|
||||
pub mod fish;
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
//! +vim-ftdetect|+vim-ftplugin|+vim-compiler|+terminfo|+mdgen-ghostty-1|
|
||||
//! +mdgen-ghostty-5`
|
||||
|
||||
use std::io::Write;
|
||||
use std::process::ExitCode;
|
||||
use std::{io::Write, process::ExitCode};
|
||||
|
||||
use ghostty_build_data::Mode;
|
||||
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
//! Sublime syntax (also used by `bat`) (port of `extra/sublime.zig`).
|
||||
|
||||
use crate::chunks_sublime::{C0, C1};
|
||||
use crate::config_fields;
|
||||
use crate::{
|
||||
chunks_sublime::{C0, C1},
|
||||
config_fields,
|
||||
};
|
||||
|
||||
#[must_use]
|
||||
pub fn syntax() -> String {
|
||||
|
||||
@@ -2,8 +2,10 @@
|
||||
|
||||
use std::fmt::Write as _;
|
||||
|
||||
use crate::chunks_vim::{C0, C1, C2, C3, C4};
|
||||
use crate::config_fields;
|
||||
use crate::{
|
||||
chunks_vim::{C0, C1, C2, C3, C4},
|
||||
config_fields,
|
||||
};
|
||||
|
||||
pub const FTDETECT: &str = C0;
|
||||
pub const FTPLUGIN: &str = C1;
|
||||
|
||||
@@ -4,8 +4,13 @@ use std::fmt::Write as _;
|
||||
|
||||
use ghostty_config::cli_args::FieldKind;
|
||||
|
||||
use crate::chunks_zsh::{C0, C1, C2, C3};
|
||||
use crate::{actions, config_fields, join_names, join_packed};
|
||||
use crate::{
|
||||
actions,
|
||||
chunks_zsh::{C0, C1, C2, C3},
|
||||
config_fields,
|
||||
join_names,
|
||||
join_packed,
|
||||
};
|
||||
|
||||
const EQUALS_REQUIRED: &str = "=-:::";
|
||||
|
||||
|
||||
Reference in new issue
Block a user