Helix: update config for 23.10
This commit is contained in:
parent
0609041bcd
commit
7b77fe874a
1 changed files with 17 additions and 16 deletions
|
|
@ -12,22 +12,23 @@
|
|||
programs.helix = {
|
||||
enable = true;
|
||||
package = pkgs.unstable_pkgs.helix;
|
||||
languages.language = [
|
||||
{
|
||||
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;
|
||||
auto-format = true;
|
||||
}];
|
||||
languages.language-server = {
|
||||
nil.config.nil = {
|
||||
formatting.command = [ "nixpkgs-fmt" ];
|
||||
autoEvalInputs = true;
|
||||
};
|
||||
texlab.config.texlab = {
|
||||
formatterLineLength = 0;
|
||||
bibtexFormatter = "latexindent";
|
||||
latexindent.modifyLineBreaks = false;
|
||||
# chktex.onOpenAndSave = true;
|
||||
chktex.onEdit = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
settings = {
|
||||
theme = "nightfox";
|
||||
editor = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue