diff options
| -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."}, |
