1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-27 12:23:46 +03:00
wezterm/.rustfmt.toml
2018-02-20 22:08:19 -08:00

19 lines
633 B
TOML

# Run `rustfmt --config-help` to see available config options.
# Please keep these in alphabetical order.
condense_wildcard_suffixes = true
error_on_line_overflow = false
error_on_unformatted = false
# Too many derives can cause line length limits to be exceeded. rustfmt-nightly
# 0.2.5 doesn't appear to pay attention to this.
merge_derives = false
reorder_imported_names = true
reorder_imports = true
reorder_imports_in_group = true
struct_lit_single_line = true
# Override the Nuclide/Atom default tab spacing.
tab_spaces = 4
use_field_init_shorthand = true
use_try_shorthand = true
wrap_comments = true
write_mode = "overwrite"