mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-10 14:13:54 +00:00
fix: oh wow
This commit is contained in:
parent
6f458a4aea
commit
55d70dd363
1 changed files with 2 additions and 2 deletions
|
|
@ -17,10 +17,10 @@
|
||||||
|
|
||||||
formattingCmd = mkIf (cfg.format.enable && cfg.lsp.enable) {
|
formattingCmd = mkIf (cfg.format.enable && cfg.lsp.enable) {
|
||||||
formatting = mkMerge [
|
formatting = mkMerge [
|
||||||
(mkIf (cfg.format.type == "alejandra") {
|
(mkIf (cfg.format.type == ["alejandra"]) {
|
||||||
command = [(getExe pkgs.alejandra)];
|
command = [(getExe pkgs.alejandra)];
|
||||||
})
|
})
|
||||||
(mkIf (cfg.format.type == "nixfmt") {
|
(mkIf (cfg.format.type == ["nixfmt"]) {
|
||||||
command = [(getExe pkgs.nixfmt-rfc-style)];
|
command = [(getExe pkgs.nixfmt-rfc-style)];
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue