feat: add toml and markdown formatters
This commit is contained in:
+3
-3
@@ -199,9 +199,9 @@
|
||||
};
|
||||
|
||||
# Formatter for nix files, available through 'nix fmt'
|
||||
treefmt = lib.mkIf cfg.formatter.enable {
|
||||
programs.alejandra.enable = lib.mkIf cfg.formatter.nix true;
|
||||
programs.rustfmt = lib.mkIf cfg.formatter.rust {
|
||||
treefmt.programs = lib.mkIf cfg.formatter.enable {
|
||||
alejandra.enable = lib.mkIf cfg.formatter.nix true;
|
||||
rustfmt = lib.mkIf cfg.formatter.rust {
|
||||
enable = true;
|
||||
edition = manifest.edition;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user