Skip to content

Commit

Permalink
treefmt: configure rustfmt through treefmt
Browse files Browse the repository at this point in the history
  • Loading branch information
a-kenji committed Sep 4, 2024
1 parent 02f9dd4 commit 4698e1f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .rustfmt.toml

This file was deleted.

5 changes: 5 additions & 0 deletions nix/formatter.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
programs.nixfmt.enable = true;
programs.rustfmt.enable = true;
programs.taplo.enable = true;

settings.formatter.rustfmt.options = [
"--config"
"newline_style=Unix"
];
};
};
}

0 comments on commit 4698e1f

Please sign in to comment.