summaryrefslogtreecommitdiff
path: root/tools/gen_themes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gen_themes.zig')
-rw-r--r--tools/gen_themes.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gen_themes.zig b/tools/gen_themes.zig
index 3add2040..65e85d1c 100644
--- a/tools/gen_themes.zig
+++ b/tools/gen_themes.zig
@@ -22,7 +22,7 @@
//! moving when the other source gains or loses a file. helix's own `acme.toml`
//! is vendored as `acme_helix.toml` for the same reason, since pardes ships an
//! acme of its own; the file is otherwise untouched. Two themes answering to
-//! one name is a bug (`Theme <name>` would silently pick one), so src/pardes.zig
+//! one name is a bug (`Theme <name>` would silently pick one), so src/colors.zig
//! asserts the ring's names are distinct at comptime.
//!
//! Provenance: vendor/themes/*.toml are helix's own runtime themes (from
@@ -50,7 +50,7 @@ const Rgb = [3]u8;
/// pardes's Theme, minus the type: the generated file spells an anonymous
/// `.{...}` because a theme file deliberately imports NOTHING (it is data, not
-/// code) — src/pardes.zig's `fold` is what turns it into a real Theme.
+/// code) — src/colors.zig's `fold` is what turns it into a real Theme.
const Theme = struct {
name: []const u8,
bg: ?Rgb,
@@ -132,7 +132,7 @@ pub fn main(init: std.process.Init) !void {
}
// the INDEX, and the only reason it is generated rather than written: a zig
// file cannot list a directory at comptime, so the imports have to come
- // from whoever can. pardes.zig folds its declarations into the ring.
+ // from whoever can. colors.zig folds its declarations into the ring.
buf.clearRetainingCapacity();
try buf.writer.writeAll("// Generated by tools/gen_themes.zig. Do not edit.\n");
for (themes) |t| try buf.writer.print("pub const {s} = @import(\"{s}.zig\");\n", .{ t.name, t.name });