fix: oh wow

This commit is contained in:
Valyn Tyler 2025-11-20 15:25:30 +01:00
commit 55d70dd363

View file

@ -17,10 +17,10 @@
formattingCmd = mkIf (cfg.format.enable && cfg.lsp.enable) {
formatting = mkMerge [
(mkIf (cfg.format.type == "alejandra") {
(mkIf (cfg.format.type == ["alejandra"]) {
command = [(getExe pkgs.alejandra)];
})
(mkIf (cfg.format.type == "nixfmt") {
(mkIf (cfg.format.type == ["nixfmt"]) {
command = [(getExe pkgs.nixfmt-rfc-style)];
})
];