feat: update ziggy and add ziggy-schema
This commit is contained in:
parent
2de8ec65a2
commit
e315c10d63
3 changed files with 12 additions and 3 deletions
|
@ -56,6 +56,7 @@ pub fn build(b: *std.Build) void {
|
|||
ts_queryfile(b, tree_sitter_dep, "tree-sitter-xml/xml/queries/highlights.scm"),
|
||||
ts_queryfile(b, tree_sitter_dep, "tree-sitter-zig/queries/highlights.scm"),
|
||||
ts_queryfile(b, tree_sitter_dep, "tree-sitter-ziggy/tree-sitter-ziggy/queries/highlights.scm"),
|
||||
ts_queryfile(b, tree_sitter_dep, "tree-sitter-ziggy/tree-sitter-ziggy-schema/queries/highlights.scm"),
|
||||
|
||||
ts_queryfile(b, tree_sitter_dep, "tree-sitter-cpp/queries/injections.scm"),
|
||||
ts_queryfile(b, tree_sitter_dep, "tree-sitter-gitcommit/queries/injections.scm"),
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
.dependencies = .{
|
||||
.@"tree-sitter" = .{
|
||||
.url = "https://github.com/neurocyte/tree-sitter/releases/download/master-fb56a3e014f77e8189ae8b60408c555f8fe8be88/source.tar.gz",
|
||||
.hash = "12200ead593d0f6aa6352dba239cc83a1d1457b060738560dbb890fd5cc5957d710f",
|
||||
.url = "https://github.com/neurocyte/tree-sitter/releases/download/master-1593876627d5a40567b2b5468821736f3d1fb11b/source.tar.gz",
|
||||
.hash = "1220fc22f6be9adc7e00682edf8a3c8487343dfbe53027f44224952f6a605cc520e5",
|
||||
},
|
||||
},
|
||||
.paths = .{
|
||||
|
|
|
@ -291,7 +291,15 @@ pub const zig = .{
|
|||
pub const ziggy = .{
|
||||
.color = 0xf7a41d,
|
||||
.icon = "",
|
||||
.extensions = .{"ziggy"},
|
||||
.extensions = .{ "ziggy", "zgy" },
|
||||
.comment = "//",
|
||||
.highlights = "tree-sitter-ziggy/tree-sitter-ziggy/queries/highlights.scm",
|
||||
};
|
||||
|
||||
pub const @"ziggy-schema" = .{
|
||||
.color = 0xf7a41d,
|
||||
.icon = "",
|
||||
.extensions = .{ "ziggy-schema", "zyg-schema" },
|
||||
.comment = "//",
|
||||
.highlights = "tree-sitter-ziggy/tree-sitter-ziggy-schema/queries/highlights.scm",
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue