summaryrefslogtreecommitdiff
path: root/docs/typ/reference.typ
diff options
context:
space:
mode:
Diffstat (limited to 'docs/typ/reference.typ')
-rw-r--r--docs/typ/reference.typ10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ
index 42b44fc9..126330fa 100644
--- a/docs/typ/reference.typ
+++ b/docs/typ/reference.typ
@@ -290,12 +290,13 @@ A line written to #file("exec") is #word("Exec"):
runtime depth (1–64, default 8) for subsequent queries.
#word("Callers") and #word("Callees") keep their short
lists and single-result jumps.
- #word("Diagnostics") and #word("Symbols") list the file's in `+Search`;
+ #word("Diagnostics") and #word("Symbols") list the file's in `+Search`
+ (its symbols marked and in the order #key("SPC s s") lists them);
#word("Lspinfo") fills `+Lsp`, the pane its write answers, with the
index the file asks (`scip: <path>, <size>, <documents>, <symbols>,
indexed <when>, <n> files newer`, or `scip: no index.scip above <dir>;
Index runs <indexer>`), which server serves it and its state (`not
- started yet` until its first query starts it, `<server> failed recently;
+ started yet` until a file of its opened starts it, `<server> failed recently;
retry in Ns` while it backs off), and what answered each query lately
(`scip`, or the server);
#word("Lspwhy") narrates the last query step by step (in `+Lsp`). The
@@ -958,7 +959,10 @@ at 200, ending in `…`. Control characters become spaces.
- #file("/kbdin") (write only), rio's: each rune written is a key typed at
the pane with the keyboard, done before the write is answered, so a
- script that writes keys then reads a file sees what they did. Control
+ script that writes keys then reads a file sees what they did. What they
+ start on a worker, as the keyboard's keys do, comes after the answer: a
+ picker's listing or search, a file's declarations, a language server's
+ answer; a script reads again until it is there. Control
runes are Ctrl and a letter, but for Plan 9's keys
(`keyboard.h`): `\n` or `\r` #key("Enter"), `\t` #key("Tab"), `\b`
Backspace, `0x7f` Delete, `0x1b` #key("Esc"), and the