mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-25 13:14:37 +02:00
flake/pre-commit: use treefmt in git hook
This commit is contained in:
parent
8c44124a1f
commit
2583f54225
1 changed files with 1 additions and 8 deletions
|
@ -31,14 +31,7 @@
|
|||
// lib.optionalAttrs (inputs.git-hooks ? flakeModule) {
|
||||
pre-commit = {
|
||||
settings.hooks = {
|
||||
nixfmt = {
|
||||
enable = true;
|
||||
package = fmt;
|
||||
};
|
||||
statix = {
|
||||
enable = true;
|
||||
excludes = [ "plugins/lsp/language-servers/rust-analyzer-config.nix" ];
|
||||
};
|
||||
treefmt.enable = true;
|
||||
typos.enable = true;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue