refactor: zig fmt
This commit is contained in:
parent
d6e867378b
commit
837844220c
2 changed files with 5 additions and 5 deletions
|
|
@ -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 };
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue