refactor: zig fmt

This commit is contained in:
CJ van den Berg 2026-02-15 20:15:42 +01:00
parent d6e867378b
commit 837844220c
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 5 additions and 5 deletions

View file

@ -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 = @alignCast(@ptrCast(ts_query_out));
const query_out: *Query = @ptrCast(@alignCast(ts_query_out));
return .{ query_out, arena };
}

View file

@ -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",
@ -435,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",
};