Compare commits
No commits in common. "740fe7570798ebc4be41a42df0c0df5de9ca517f" and "d6e867378babfd899486547b6e59bf7863f6097e" have entirely different histories.
740fe75707
...
d6e867378b
4 changed files with 7 additions and 22 deletions
|
|
@ -74,7 +74,6 @@ pub fn build(b: *std.Build) void {
|
|||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-ninja/queries/highlights.scm");
|
||||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-nix/queries/highlights.scm");
|
||||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-nu/queries/nu/highlights.scm");
|
||||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-objc/queries/highlights.scm");
|
||||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-ocaml/queries/highlights.scm");
|
||||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-odin/queries/highlights.scm");
|
||||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-openscad/queries/highlights.scm");
|
||||
|
|
@ -132,7 +131,6 @@ pub fn build(b: *std.Build) void {
|
|||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-nickel/queries/injections.scm");
|
||||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-nix/queries/injections.scm");
|
||||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-nu/queries/nu/injections.scm");
|
||||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-objc/queries/injections.scm");
|
||||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-odin/queries/injections.scm");
|
||||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-openscad/queries/injections.scm");
|
||||
ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-perl/queries/injections.scm");
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
.dependencies = .{
|
||||
.tree_sitter = .{
|
||||
.url = "https://github.com/neurocyte/tree-sitter/releases/download/master-42b2cb66296e83fef13d155eca4a13057e31438b/source.tar.gz",
|
||||
.hash = "tree_sitter-0.22.4-150-g7e3f5726-z0LhyNr8hjA9keSgGlG4PBO_9BGxsBtODt3e3qvXeTHu",
|
||||
.url = "https://github.com/neurocyte/tree-sitter/releases/download/master-6e2827ee231e220467bf04d2a2746faff5cb204a/source.tar.gz",
|
||||
.hash = "tree_sitter-0.22.4-150-g7e3f5726-z0LhyGeG1y67PeOltaplVkxRNT2jMMexQhbUlrh0vdxM",
|
||||
},
|
||||
.cbor = .{
|
||||
.url = "git+https://github.com/neurocyte/cbor?ref=master#7d2eeb68c8a2fb3f4d6baad6cc04c521b92974c0",
|
||||
|
|
|
|||
|
|
@ -190,6 +190,6 @@ fn deserialize_query(query_bin: []const u8, language: ?*const treez.Language, al
|
|||
var ts_query_out, const arena = try tss.fromCbor(query_bin, allocator);
|
||||
ts_query_out.language = @intFromPtr(language);
|
||||
|
||||
const query_out: *Query = @ptrCast(@alignCast(ts_query_out));
|
||||
const query_out: *Query = @alignCast(@ptrCast(ts_query_out));
|
||||
return .{ query_out, arena };
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ pub const astro = .{
|
|||
pub const awk = .{
|
||||
.description = "Awk",
|
||||
.icon = "",
|
||||
.extensions = .{ "awk", "gawk" },
|
||||
.extensions = .{"awk", "gawk"},
|
||||
.comment = "#",
|
||||
};
|
||||
|
||||
|
|
@ -131,7 +131,7 @@ pub const elm = .{
|
|||
.description = "Elm",
|
||||
.color = 0x0e76ad,
|
||||
.icon = "",
|
||||
.extensions = .{"elm"},
|
||||
.extensions = .{ "elm" },
|
||||
.comment = "--",
|
||||
.injections = "tree-sitter-elm/queries/injections.scm",
|
||||
};
|
||||
|
|
@ -325,7 +325,7 @@ pub const markdown = .{
|
|||
.description = "Markdown",
|
||||
.color = 0x000000,
|
||||
.icon = "",
|
||||
.extensions = .{ "md", "smd" },
|
||||
.extensions = .{"md", "smd"},
|
||||
.comment = "<!--",
|
||||
.highlights = "tree-sitter-markdown/tree-sitter-markdown/queries/highlights.scm",
|
||||
.injections = "tree-sitter-markdown/tree-sitter-markdown/queries/injections.scm",
|
||||
|
|
@ -400,19 +400,6 @@ pub const nu = .{
|
|||
.injections = "tree-sitter-nu/queries/nu/injections.scm",
|
||||
};
|
||||
|
||||
pub const objc = .{
|
||||
.description = "Objective-C",
|
||||
.color = 0xE95325,
|
||||
.icon = "",
|
||||
.extensions = .{ "m", "objc" },
|
||||
.comment = "//",
|
||||
.highlights_list = .{
|
||||
"tree-sitter-c/queries/highlights.scm",
|
||||
"tree-sitter-objc/queries/highlights.scm",
|
||||
},
|
||||
.injections = "tree-sitter-objc/queries/injections.scm",
|
||||
};
|
||||
|
||||
pub const ocaml = .{
|
||||
.description = "OCaml",
|
||||
.color = 0xF18803,
|
||||
|
|
@ -448,7 +435,7 @@ pub const perl = .{
|
|||
.description = "Perl",
|
||||
.color = 0x005c81,
|
||||
.icon = "",
|
||||
.extensions = .{ "pl", "pm", "t" },
|
||||
.extensions = .{"pl", "pm", "t"},
|
||||
.comment = "#",
|
||||
.injections = "tree-sitter-perl/queries/injections.scm",
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue