mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
flake: add keep-sorted
to treefmt
This commit is contained in:
parent
2628efee71
commit
0a6bd171cf
1 changed files with 4 additions and 1 deletions
|
@ -23,7 +23,9 @@
|
|||
flakeCheck = true;
|
||||
|
||||
programs = {
|
||||
# keep-sorted start block=yes newline_separated=no
|
||||
isort.enable = true;
|
||||
keep-sorted.enable = true;
|
||||
nixfmt = {
|
||||
enable = true;
|
||||
package = pkgs.nixfmt-rfc-style;
|
||||
|
@ -36,6 +38,7 @@
|
|||
check = true;
|
||||
format = true;
|
||||
};
|
||||
shfmt.enable = true;
|
||||
statix = {
|
||||
enable = true;
|
||||
disabled-lints = [
|
||||
|
@ -44,9 +47,9 @@
|
|||
];
|
||||
};
|
||||
stylua.enable = true;
|
||||
shfmt.enable = true;
|
||||
# FIXME: re-enable on darwin, currently broken: taplo with options '[format]' failed to apply: exit status 101
|
||||
taplo.enable = pkgs.stdenv.isLinux;
|
||||
# keep-sorted end
|
||||
};
|
||||
|
||||
settings = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue