summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-30 23:04:26 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:17 -0300
commit5e72bfc34cc97d12be5185930135b55c2eb001b4 (patch)
treed81daad17e81789e5ce583f22280d6cc368d6ab6 /src
parent074f113fa95a875a6bf17196f8e46e69806a247c (diff)
downloadpardes-5e72bfc34cc97d12be5185930135b55c2eb001b4.tar.gz
pardes-5e72bfc34cc97d12be5185930135b55c2eb001b4.zip
The reference is fs.md's per-file semantics, errors and limits in Typst, with the settings table, and says what the pane ctl's Left, Right, Up and Down do
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/builtins.zig2
-rw-r--r--src/ninep/ctl.zig4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/builtins.zig b/src/builtins.zig
index 89d89c3a..fb6aa4cf 100644
--- a/src/builtins.zig
+++ b/src/builtins.zig
@@ -1314,7 +1314,7 @@ pub const Repl = struct {
shown += 1;
}
};
- w.print(" ({d} more: docs/tags.md, Repl)", .{known - shown}) catch {};
+ w.print(" ({d} more: docs/typ/reference.typ, REPLs)", .{known - shown}) catch {};
return c.p.reportFailure(c.id, w.buffered());
};
if (pane.repl) |r| if (r.lang == lang)
diff --git a/src/ninep/ctl.zig b/src/ninep/ctl.zig
index 5b63080e..31265a94 100644
--- a/src/ninep/ctl.zig
+++ b/src/ninep/ctl.zig
@@ -3430,7 +3430,7 @@ test "Repl with no such language names a few whole, and where the rest are" {
const refused = wr(p, Node.of(serialOf(p), .ctl), "Repl zzlang\n");
try testing.expectEqual(Status.err, refused.reply.status);
try testing.expect(std.mem.indexOf(u8, refused.reply.ename, "Repl: no language \"zzlang\"; - or one like zig ada bash c c_sharp clojure (") != null);
- try testing.expect(std.mem.indexOf(u8, refused.reply.ename, " more: docs/tags.md, Repl)") != null);
+ try testing.expect(std.mem.indexOf(u8, refused.reply.ename, " more: docs/typ/reference.typ, REPLs)") != null);
}
test "a 10k-line Edit text block is taken in linear time and memory" {
@@ -3520,7 +3520,7 @@ test "every word's /commands description is its own doc comment's first sentence
"\nJoincol root -- Fold the active pane's column into the one on its right, keeping its panes.\n",
"\nExit root -- Quit the editor, refusing once while a pane holds unsaved text: an Exit with nothing edited since discards it.\n",
"\nColors arg root on,off -- Syntax colours in text panes, on or off.\n",
- // fs.md's examples, as they read.
+ // the reference's examples, as they read.
"\nNewcol root -- An empty column right of the keyboard's, its tag taking the keyboard.\n",
"\nSave arg pane -- Write the pane's text to its file, or to the file its argument names.\n",
"\nVerbose arg root on,off -- A builtin says its own name on the message row as it runs, on or off.\n",