mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-24 10:14:03 -05:00
flake/dev: adapt to latest treefmt-nix option changes
This commit is contained in:
committed by
Matt Sturgeon
parent
6c906e0873
commit
a4522deb63
+8
-5
@@ -18,6 +18,14 @@
|
||||
nixf-diagnose = {
|
||||
enable = true;
|
||||
priority = -1;
|
||||
ignore = [
|
||||
"sema-primop-overridden"
|
||||
"sema-unused-def-lambda-witharg-formal"
|
||||
];
|
||||
excludes = [
|
||||
# sema-unused-def-lambda-noarg-formal
|
||||
"ci/rust-analyzer/default.nix"
|
||||
];
|
||||
};
|
||||
nixfmt = {
|
||||
enable = true;
|
||||
@@ -63,11 +71,6 @@
|
||||
"docs/gfm-alerts-to-admonitions/tests/**/*.yml"
|
||||
];
|
||||
formatter.ruff-format.options = [ "--isolated" ];
|
||||
formatter.nixf-diagnose.options = [
|
||||
"--auto-fix"
|
||||
"--ignore=sema-unused-def-lambda-witharg-formal"
|
||||
"--ignore=sema-primop-overridden"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user