mirror of
https://github.com/atuinsh/atuin.git
synced 2026-10-11 22:29:51 +00:00
Update `.rustfmt.toml` to be more opinionated. Formatting now requires nightly Rust; use `cargo +nightly fmt`.
18 lines
448 B
TOML
18 lines
448 B
TOML
comment_width = 100
|
|
#error_on_line_overflow = true
|
|
#error_on_unformatted = true
|
|
format_macro_bodies = true
|
|
format_macro_matchers = true
|
|
format_strings = true
|
|
group_imports = "StdExternalCrate"
|
|
imports_granularity = "Module"
|
|
max_width = 100
|
|
newline_style = "Unix"
|
|
overflow_delimited_expr = true
|
|
reorder_imports = true
|
|
struct_lit_width = 18
|
|
style_edition = "2024"
|
|
unstable_features = true
|
|
use_field_init_shorthand = true
|
|
use_small_heuristics = "Off"
|