summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/macos.zig1
-rw-r--r--runtime/session.zig1
2 files changed, 2 insertions, 0 deletions
diff --git a/runtime/macos.zig b/runtime/macos.zig
index cfe93b13..4f9a9c33 100644
--- a/runtime/macos.zig
+++ b/runtime/macos.zig
@@ -348,6 +348,7 @@ fn initCore(runtime: ?*const Callbacks, cols_arg: u16, rows_arg: u16) !void {
pardes.syntax.start(allocs.tree_sitter);
errdefer pardes.syntax.stop();
+ opts.tape = pardes.tape.fromEnv();
const core = try pardes.Pardes.init(allocs.pardes, opts);
errdefer core.deinit();
// The workspace tag row is the macOS menu bar's business here (see
diff --git a/runtime/session.zig b/runtime/session.zig
index fdd72c2b..b1558d9f 100644
--- a/runtime/session.zig
+++ b/runtime/session.zig
@@ -75,6 +75,7 @@ pub fn Loop(comptime Frontend: type) type {
o.tree_sitter_allocator = l.allocs.tree_sitter;
o.frame_allocator = l.allocs.frame;
fe.options(&o);
+ o.tape = pardes.tape.fromEnv();
l.core = if (upgrade.resumed) |*rec|
try upgrade.load(l.gpa, l.allocs.pardes, o, rec)
else if (o.load_path) |lp| blk: {