mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
flake: use pre-configured treefmt package in git-hooks
This commit is contained in:
parent
95ca65c8d1
commit
46e1359338
1 changed files with 5 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
|||
perSystem =
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
system,
|
||||
...
|
||||
}:
|
||||
|
@ -84,7 +85,10 @@
|
|||
edit = true;
|
||||
};
|
||||
};
|
||||
treefmt.enable = true;
|
||||
treefmt = {
|
||||
enable = true;
|
||||
package = config.formatter;
|
||||
};
|
||||
typos = {
|
||||
enable = true;
|
||||
excludes = [ "generated/*" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue