some edits

This commit is contained in:
William 2023-12-16 21:08:48 -03:00
parent 3973bbc8a5
commit 77ed856dbf
2 changed files with 32 additions and 4 deletions

View file

@ -16,6 +16,7 @@
"/var/lib/nixos"
"/var/lib/flatpak"
"/var/lib/tailscale"
"/var/lib/waydroid"
"/var/lib/systemd/coredump"
"/etc/NetworkManager/system-connections"
];

View file

@ -39,10 +39,37 @@
};
};
languages = {
language = [{
name = "nix";
auto-format = true;
formatter.command = "nixfmt";
language = [
{
name = "nix";
# scope = "source.nix";
auto-format = true;
formatter.command = "nixfmt";
}
{
name = "typst";
scope = "source.typ";
file-types = [ "typ" ];
roots = [ ];
injection-regex = "^typst$";
auto-format = true;
comment-token = "//";
indent = {
tab-width = 2;
unit = " ";
};
formatter = {
command = "prettypst";
args = [ "--use-std-in" "--use-std-out" ];
};
}
];
grammar = [{
name = "typst";
source = {
git = "https://github.com/SeniorMars/tree-sitter-typst";
rev = "2e66ef4b798a26f0b82144143711f3f7a9e8ea35";
};
}];
};
themes.catppuccin-mocha_transparent = {