feat: add typst file type

This commit is contained in:
CJ van den Berg 2024-08-30 20:58:57 +02:00
parent 97b6432e1d
commit 302b343905
2 changed files with 12 additions and 0 deletions

View file

@ -337,6 +337,16 @@ pub const typescript = .{
.language_server = .{ "deno", "lsp" },
};
pub const typst = .{
.color = 0x007acc,
.icon = "t",
.extensions = .{ "typst", "typ" },
.comment = "//",
.language_server = .{"tinymist"},
.highlights = "tree-sitter-typst/queries/typst/highlights.scm",
.injections = "tree-sitter-typst/queries/typst/injections.scm",
};
pub const xml = .{
.icon = "󰗀",
.extensions = .{"xml"},