Helix: update config

This commit is contained in:
Filippo Berto 2023-06-27 17:23:13 +01:00
parent cc737cc76f
commit 907ff34e53
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056

View file

@ -12,11 +12,22 @@
programs.helix = {
enable = true;
package = pkgs.unstable_pkgs.helix;
languages.language = [{
name = "nix";
formatter = { command = "nixpkgs-fmt"; };
# config = { nil = { formatting = { command = "nixpkgs-fmt"; }; }; };
}];
languages.language = [
{
name = "nix";
config = { nil.formatting.command = [ "nixpkgs-fmt" ]; };
}
{
name = "latex";
config = {
texlab.formatterLineLength = 0;
texlab.bibtexFormatter = "latexindent";
texlab.latexindent.modifyLineBreaks = false;
# texlab.chktex.onOpenAndSave = true;
texlab.chktex.onEdit = true;
};
}
];
settings = {
theme = "nightfox";
editor = {