feat: add shtml (superhtml) file type

This commit is contained in:
CJ van den Berg 2024-07-22 17:37:36 +02:00
parent 810f4be90e
commit e638368116
3 changed files with 15 additions and 2 deletions

View file

@ -122,6 +122,17 @@ pub const html = .{
.formatter = .{ "superhtml", "fmt", "--stdin" },
};
pub const shtml = .{
.color = 0xe54d26,
.icon = "󰌝",
.extensions = .{"shtml"},
.comment = "<!--",
.highlights = "tree-sitter-superhtml/tree-sitter-superhtml/queries/highlights.scm",
.injections = "tree-sitter-superhtml/tree-sitter-superhtml/queries/injections.scm",
.language_server = .{ "superhtml", "lsp" },
.formatter = .{ "superhtml", "fmt", "--stdin-super" },
};
pub const java = .{
.color = 0xEA2D2E,
.icon = "",