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);
|
var ts_query_out, const arena = try tss.fromCbor(query_bin, allocator);
|
||||||
ts_query_out.language = @intFromPtr(language);
|
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 };
|
return .{ query_out, arena };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ pub const astro = .{
|
||||||
pub const awk = .{
|
pub const awk = .{
|
||||||
.description = "Awk",
|
.description = "Awk",
|
||||||
.icon = "",
|
.icon = "",
|
||||||
.extensions = .{"awk", "gawk"},
|
.extensions = .{ "awk", "gawk" },
|
||||||
.comment = "#",
|
.comment = "#",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -131,7 +131,7 @@ pub const elm = .{
|
||||||
.description = "Elm",
|
.description = "Elm",
|
||||||
.color = 0x0e76ad,
|
.color = 0x0e76ad,
|
||||||
.icon = "",
|
.icon = "",
|
||||||
.extensions = .{ "elm" },
|
.extensions = .{"elm"},
|
||||||
.comment = "--",
|
.comment = "--",
|
||||||
.injections = "tree-sitter-elm/queries/injections.scm",
|
.injections = "tree-sitter-elm/queries/injections.scm",
|
||||||
};
|
};
|
||||||
|
|
@ -325,7 +325,7 @@ pub const markdown = .{
|
||||||
.description = "Markdown",
|
.description = "Markdown",
|
||||||
.color = 0x000000,
|
.color = 0x000000,
|
||||||
.icon = "",
|
.icon = "",
|
||||||
.extensions = .{"md", "smd"},
|
.extensions = .{ "md", "smd" },
|
||||||
.comment = "<!--",
|
.comment = "<!--",
|
||||||
.highlights = "tree-sitter-markdown/tree-sitter-markdown/queries/highlights.scm",
|
.highlights = "tree-sitter-markdown/tree-sitter-markdown/queries/highlights.scm",
|
||||||
.injections = "tree-sitter-markdown/tree-sitter-markdown/queries/injections.scm",
|
.injections = "tree-sitter-markdown/tree-sitter-markdown/queries/injections.scm",
|
||||||
|
|
@ -435,7 +435,7 @@ pub const perl = .{
|
||||||
.description = "Perl",
|
.description = "Perl",
|
||||||
.color = 0x005c81,
|
.color = 0x005c81,
|
||||||
.icon = "",
|
.icon = "",
|
||||||
.extensions = .{"pl", "pm", "t"},
|
.extensions = .{ "pl", "pm", "t" },
|
||||||
.comment = "#",
|
.comment = "#",
|
||||||
.injections = "tree-sitter-perl/queries/injections.scm",
|
.injections = "tree-sitter-perl/queries/injections.scm",
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue