mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-05 15:16:23 +01:00
add alejandra as formatter for nix to helix config
This commit is contained in:
parent
8a1314b58f
commit
1a3bbe351a
|
@ -68,8 +68,6 @@ with builtins; {
|
|||
aria2
|
||||
usbutils
|
||||
numbat
|
||||
|
||||
alejandra
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
@ -62,6 +62,14 @@
|
|||
name = "nu";
|
||||
language-servers = ["nu-builtin-lsp"];
|
||||
}
|
||||
{
|
||||
name = "nix";
|
||||
formatter = {
|
||||
command = "${pkgs.alejandra}/bin/alejandra";
|
||||
args = ["--quiet"];
|
||||
};
|
||||
auto-format = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue