old
1{...}: {
2 programs.helix.languages = {
3 language = [
4 {
5 name = "latex";
6 auto-format = true;
7 indent = {
8 tab-width = 2;
9 unit = " ";
10 };
11 formatter = {
12 command = "tex-fmt";
13 args = ["--stdin"];
14 };
15 }
16 {
17 name = "bibtex";
18 auto-format = true;
19 indent = {
20 tab-width = 2;
21 unit = " ";
22 };
23 formatter = {
24 command = "tex-fmt";
25 args = ["--stdin"];
26 };
27 }
28 ];
29 };
30}