add alejandra as formatter for nix to helix config
This commit is contained in:
parent
8a1314b58f
commit
1a3bbe351a
2 changed files with 8 additions and 2 deletions
|
@ -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