1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-10-27 05:32:54 -04:00
Commit graph

3 commits

Author SHA1 Message Date
Christian Duerr
f90dd12efd
Update rustfmt configuration
In this change I went through all current rustfmt configuration options
and expanded our existing configuration with overrides whenever deemed
appropriate.

The `normalize_doc_attributes` option is still unstable, but seems to
work without any issues. Even when passing macros like `include_str!`
that is recognized properly and not normalized. So while this wasn't an
issue anywhere in the code, it should make sure it never will be.

When it comes to imports there are two new major additions. The
`imports_granularity` and `group_imports` options. Both mostly just
incorporate unwritten rules that have existed in Alacritty for a long
time. Unfortunately since `alacritty_terminal` imports in `alacritty`
are supposed to be separate blocks, the `group_imports` option cannot be
used.
2021-10-11 00:54:18 +00:00
Christian Duerr
d9d698614c
Fix clippy issues 2019-08-16 01:33:49 +02:00
Christian Duerr
cfd025b528
Add rustfmt style guide 2019-03-30 16:48:36 +00:00