summaryrefslogtreecommitdiff
path: root/src/builtins.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 05:16:33 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:16 -0300
commitc27e38eb3e97fd505255ee4b42d32ddc77c58ced (patch)
tree16ca3a42f84d15ed06c6102615947334fad14e4e /src/builtins.zig
parent32198b59020e295efbc48de343a9de69c952dcfc (diff)
downloadpardes-c27e38eb3e97fd505255ee4b42d32ddc77c58ced.tar.gz
pardes-c27e38eb3e97fd505255ee4b42d32ddc77c58ced.zip
/commands takes each word's own doc comment, whole, without citations
Repl showed Joincol's first line and Joincol another's, because a comment had drifted above the wrong declaration in builtins.zig; Kill's was cut mid-sentence and Exit's cited exec.c:892. The drifted line is back on Joincol, a parenthesis citing source (.c, .zig) is dropped, and the first sentence is kept whole up to 240 bytes, then cut between words with an ellipsis. A test checks every description opens its own word's comment. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/builtins.zig')
-rw-r--r--src/builtins.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/builtins.zig b/src/builtins.zig
index 3e35ca2f..dfd1e84c 100644
--- a/src/builtins.zig
+++ b/src/builtins.zig
@@ -1044,7 +1044,6 @@ pub const Tty9p = struct {
}
};
-/// Fold the active pane's column into the one on its right, keeping its panes.
/// Binds this terminal as a language's REPL, by the language's name as the
/// syntax table has it: an exec made on the body of a file in that
/// language -- a middle click, the execute key, a single word like `ls`
@@ -1119,6 +1118,7 @@ pub const Repl = struct {
}
};
+/// Fold the active pane's column into the one on its right, keeping its panes.
/// The horizontal mirror of the vertical stacking `New` does.
pub const Joincol = struct {
pub const scope: Scope = .session;