some edits
This commit is contained in:
parent
3973bbc8a5
commit
77ed856dbf
2 changed files with 32 additions and 4 deletions
|
|
@ -16,6 +16,7 @@
|
||||||
"/var/lib/nixos"
|
"/var/lib/nixos"
|
||||||
"/var/lib/flatpak"
|
"/var/lib/flatpak"
|
||||||
"/var/lib/tailscale"
|
"/var/lib/tailscale"
|
||||||
|
"/var/lib/waydroid"
|
||||||
"/var/lib/systemd/coredump"
|
"/var/lib/systemd/coredump"
|
||||||
"/etc/NetworkManager/system-connections"
|
"/etc/NetworkManager/system-connections"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -39,10 +39,37 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
languages = {
|
languages = {
|
||||||
language = [{
|
language = [
|
||||||
name = "nix";
|
{
|
||||||
auto-format = true;
|
name = "nix";
|
||||||
formatter.command = "nixfmt";
|
# 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 = {
|
themes.catppuccin-mocha_transparent = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue