mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +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;
|
flakeCheck = true;
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
# keep-sorted start block=yes newline_separated=no
|
||||||
isort.enable = true;
|
isort.enable = true;
|
||||||
|
keep-sorted.enable = true;
|
||||||
nixfmt = {
|
nixfmt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.nixfmt-rfc-style;
|
package = pkgs.nixfmt-rfc-style;
|
||||||
|
@ -36,6 +38,7 @@
|
||||||
check = true;
|
check = true;
|
||||||
format = true;
|
format = true;
|
||||||
};
|
};
|
||||||
|
shfmt.enable = true;
|
||||||
statix = {
|
statix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
disabled-lints = [
|
disabled-lints = [
|
||||||
|
@ -44,9 +47,9 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
stylua.enable = true;
|
stylua.enable = true;
|
||||||
shfmt.enable = true;
|
|
||||||
# FIXME: re-enable on darwin, currently broken: taplo with options '[format]' failed to apply: exit status 101
|
# FIXME: re-enable on darwin, currently broken: taplo with options '[format]' failed to apply: exit status 101
|
||||||
taplo.enable = pkgs.stdenv.isLinux;
|
taplo.enable = pkgs.stdenv.isLinux;
|
||||||
|
# keep-sorted end
|
||||||
};
|
};
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue