Helix: update config
This commit is contained in:
parent
cc737cc76f
commit
907ff34e53
1 changed files with 16 additions and 5 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue