diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-23 15:58:03 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-23 15:59:04 -0300 |
| commit | 4f685df6994977843b82dd09572fed6c744b35d0 (patch) | |
| tree | b52cc2c836d8749fb62b4bdffaf2daff802f4245 | |
| parent | 0742955e2cb52d644fb868b21865149d2a6438f8 (diff) | |
| download | pardes-4f685df6994977843b82dd09572fed6c744b35d0.tar.gz pardes-4f685df6994977843b82dd09572fed6c744b35d0.zip | |
help: the change layers' words and the patches' documented for a user (item 5's first group: `Changes`, `Compare`, `At`, `Churn`, `Diff`, `Syntax`), each sentence checked against its run (core/jj.zig `pinWord`, `word`, `churnWord`, core/hunks.zig `word`) and the guide's chapter "Changes on the source view": the five were written whole in the table's change (their first sentences were over the bound: Changes' was 332 bytes), and are as they read there: Changes (its revset's changes on a file's pane or a revision's, one set a pane, bare hidden or shown, `@` with none pinned; lanes, the rows of what was taken away, a description after a change's last line ending its lane's arrow; `] g` `[ g`; B3 on a description's id is `Diff <id> <path>:<line>`), Compare (two points or more in order, each one revision, a pair one change however many lie between, its row `from..to N changes dates`), At (`path@rev` beside the file; in such a pane another revision in its place, bare the file), Churn (a revset or a span of time back from now; a heat cell and a strip; bare hidden or shown, the whole history with none counted), Diff (bare on a diff or a +Diff; a file, a commit hash, a jj change with a place, two points with `..`; what a hunk stands under; `SPC j n`/`p`); here Syntax: "Turn this text's syntax colours off in this view, or on again.", its code note (the ink layer) a `//` line in the struct; these words are being changed NOW by the change layers' line (ws-tilde: the layer's lines as the pane's read-only text, the view from the middle right): their documentation says what they do today and is to be brought up to date at that line's merge; docs/typ/builtins-tui.json regenerated
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| -rw-r--r-- | core/builtins.zig | 4 | ||||
| -rw-r--r-- | docs/typ/builtins-tui.json | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/builtins.zig b/core/builtins.zig index 81ec4c2b..11505b2c 100644 --- a/core/builtins.zig +++ b/core/builtins.zig @@ -1204,9 +1204,9 @@ pub const Filter = struct { } }; -/// Turn a text's syntax colours off in this view, or on again. -/// The ink layer (File.Layers). +/// Turn this text's syntax colours off in this view, or on again. pub const Syntax = struct { + // The ink layer (File.Layers). pub fn run(c: Ctx) void { if (c.pane.file == null) return c.p.reportFailure(c.id, "Syntax: only a text pane has it"); c.pane.layers.ink = !c.pane.layers.ink; diff --git a/docs/typ/builtins-tui.json b/docs/typ/builtins-tui.json index 63dd263c..5f1ef67c 100644 --- a/docs/typ/builtins-tui.json +++ b/docs/typ/builtins-tui.json @@ -91,7 +91,7 @@ {"name": "Subtypes", "leader": "SPC l T", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the subtypes of the type under the cursor.", "text": "List the subtypes of the type under the cursor."}, {"name": "Supertypes", "leader": "SPC l t", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the supertypes of the type under the cursor.", "text": "List the supertypes of the type under the cursor."}, {"name": "Symbols", "leader": "SPC l s", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the file's symbols from the language server.", "text": "List the file's symbols from the language server."}, - {"name": "Syntax", "leader": "SPC t h", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Turn a text's syntax colours off in this view, or on again.", "text": "Turn a text's syntax colours off in this view, or on again. The ink layer (File.Layers)."}, + {"name": "Syntax", "leader": "SPC t h", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Turn this text's syntax colours off in this view, or on again.", "text": "Turn this text's syntax colours off in this view, or on again."}, {"name": "Tab", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "A tab's width in cells, 1 through 16, in every pane; bare, it says the width.", "text": "A tab's width in cells, 1 through 16, in every pane; bare, it says the width."}, {"name": "Term", "leader": "SPC n t", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "A shell in the calling pane's directory, raw from the first frame.", "text": "A shell in the calling pane's directory, raw from the first frame. On every pane's tagline: the fast path from wherever you are to a prompt there. A terminal below the caller in its directory: the configured shell, or the one named, `Term fish`, as a terminal's own tag word `Term+fish` says."}, {"name": "Theme", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "Switch to the named theme.", "text": "Switch to the named theme."}, |
