Skip to content

Commit

Permalink
feat(nix): add nix formatter to treefmt
Browse files Browse the repository at this point in the history
  • Loading branch information
eljamm committed Jan 24, 2025
1 parent c3d311b commit e0f8ad5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@
clippy.settings.allFeatures = true;

treefmt.enable = true;
treefmt.settings.formatters = [
pkgs.rustfmt
treefmt.settings.formatters = with pkgs; [
nixfmt-rfc-style
rustfmt
];
};

Expand Down

0 comments on commit e0f8ad5

Please sign in to comment.