add alejandra as formatter for nix to helix config

This commit is contained in:
Schrottkatze 2023-11-26 21:34:14 +01:00
parent 8a1314b58f
commit 1a3bbe351a
2 changed files with 8 additions and 2 deletions

View file

@ -68,8 +68,6 @@ with builtins; {
aria2
usbutils
numbat
alejandra
];
};

View file

@ -62,6 +62,14 @@
name = "nu";
language-servers = ["nu-builtin-lsp"];
}
{
name = "nix";
formatter = {
command = "${pkgs.alejandra}/bin/alejandra";
args = ["--quiet"];
};
auto-format = true;
}
];
};
};