diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-08-29 09:02:26 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-08-29 09:02:26 -0700 |
| commit | 1f479c4aa01bb45be79a188d246c153ff1599758 (patch) | |
| tree | cf4137b3e6ab120d754ba5d8eac98bf736e19cd2 /treefmt.nix | |
| parent | update rust workspace (diff) | |
| download | x-1f479c4aa01bb45be79a188d246c153ff1599758.tar.gz | |
add tools to format rust and TOML
Diffstat (limited to '')
| -rw-r--r-- | treefmt.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/treefmt.nix b/treefmt.nix index 6d19624..b2e04da 100644 --- a/treefmt.nix +++ b/treefmt.nix @@ -4,10 +4,12 @@ projectRootFile = ".git/config"; settings.global.includes = [ "*.go" - "*.yaml" - "*.yml" "*.md" "*.nix" + "*.rs" + "*.toml" + "*.yaml" + "*.yml" ]; settings.global.fail-on-change = true; settings.global.no-cache = true; @@ -22,6 +24,9 @@ programs.actionlint.enable = true; # Markdown programs.mdformat.enable = true; + # Rust + programs.rustfmt.enable = true; + programs.taplo.enable = true; # Nix programs.nixfmt = { enable = true; |
