Last 24.05 update

This commit is contained in:
2024-11-24 21:00:21 +01:00
parent 1583241c31
commit 36c3f13acb
10 changed files with 133 additions and 28 deletions

View File

@@ -7,6 +7,8 @@
unstable.svls
unstable.nil
unstable.nixpkgs-fmt
unstable.tectonic
unstable.texlab
dprint
];
@@ -45,6 +47,40 @@
command = "svls";
};
language-server.texlab = {
config = {
texlab.chktex = {
onOpenAndSave = true;
onEdit = true;
};
texlab.forwardSearch = {
executable = "zathura";
args = [
"--synctex-forward"
"%l:%c:%f"
"%p"
];
};
texlab.build = {
auxDirectory = "build";
logDirectory = "build";
pdfDirectory = "build";
forwardSearchAfter = true;
onSave = true;
executable = "tectonic";
args = [
"-X"
"compile"
"--synctex"
"--keep-logs"
"--keep-intermediates"
"--outdir=build"
"%f"
];
};
};
};
language = [
{
name = "verilog";
@@ -65,6 +101,11 @@
formatter.command = "dprint";
formatter.args = ["fmt" "--stdin" "md" "--config" "/home/xeovalyte/.config/.dprint.json"];
}
{
name = "typst";
auto-format = false;
formatter.command = "${pkgs.typstfmt}/bin/typstfmt";
}
];
};
themes = {