helix: set formatter for nix
This commit is contained in:
parent
9f9350fe0b
commit
b8c2137864
1 changed files with 9 additions and 0 deletions
9
home.nix
9
home.nix
|
|
@ -481,6 +481,15 @@ in {
|
||||||
end-of-line-diagnostics = "hint";
|
end-of-line-diagnostics = "hint";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
languages = {
|
||||||
|
language = [
|
||||||
|
{
|
||||||
|
name = "nix";
|
||||||
|
auto-format = true;
|
||||||
|
formatter = {command = "alejandra";};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.bat = {
|
programs.bat = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue