Compare commits
2 commits
d231728c92
...
4e80f937cd
Author | SHA1 | Date | |
---|---|---|---|
4e80f937cd | |||
46bd66ec8a |
2 changed files with 4 additions and 4 deletions
|
@ -48,7 +48,7 @@ pub const conf = .{
|
||||||
.description = "Config",
|
.description = "Config",
|
||||||
.color = 0x000000,
|
.color = 0x000000,
|
||||||
.icon = "",
|
.icon = "",
|
||||||
.extensions = .{ "conf", "config", ".gitconfig", "gui_config" },
|
.extensions = .{ "conf", "log", "config", ".gitconfig", "gui_config" },
|
||||||
.highlights = fish.highlights,
|
.highlights = fish.highlights,
|
||||||
.comment = "#",
|
.comment = "#",
|
||||||
.parser = fish.parser,
|
.parser = fish.parser,
|
||||||
|
|
|
@ -43,7 +43,7 @@ pub fn main() anyerror!void {
|
||||||
|
|
||||||
try cbor.writeValue(writer, "highlights");
|
try cbor.writeValue(writer, "highlights");
|
||||||
try cbor.writeValue(writer, highlights_cb);
|
try cbor.writeValue(writer, highlights_cb);
|
||||||
std.log.info("file_type {s} highlights {d} bytes", .{ file_type.name, highlights_cb.len });
|
// std.log.info("file_type {s} highlights {d} bytes", .{ file_type.name, highlights_cb.len });
|
||||||
|
|
||||||
if (file_type.injections) |injections| {
|
if (file_type.injections) |injections| {
|
||||||
const injections_in = try treez.Query.create(lang, injections);
|
const injections_in = try treez.Query.create(lang, injections);
|
||||||
|
@ -54,12 +54,12 @@ pub fn main() anyerror!void {
|
||||||
|
|
||||||
try cbor.writeValue(writer, "injections");
|
try cbor.writeValue(writer, "injections");
|
||||||
try cbor.writeValue(writer, injections_cb);
|
try cbor.writeValue(writer, injections_cb);
|
||||||
std.log.info("file_type {s} injections {d} bytes", .{ file_type.name, injections_cb.len });
|
// std.log.info("file_type {s} injections {d} bytes", .{ file_type.name, injections_cb.len });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
try output_file.writeAll(output.items);
|
try output_file.writeAll(output.items);
|
||||||
std.log.info("file_types total {d} bytes", .{output.items.len});
|
// std.log.info("file_types total {d} bytes", .{output.items.len});
|
||||||
}
|
}
|
||||||
|
|
||||||
fn fatal(comptime format: []const u8, args: anytype) noreturn {
|
fn fatal(comptime format: []const u8, args: anytype) noreturn {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue