From fc02325789b5a6622f9e577c9a45e65806c516b6 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 5 Nov 2026 10:48:36 -0300 Subject: Callstack a plain tree with a depth: CallstackLayout and CallstackCorners go with the inline layout and the square corners (each snippet below its location, the corners rounded, as both defaulted to), and the 100,000-row paging goes: a tree bigger than one answer holds stops there, its last row saying so as at the memory limit, and Callstack run in +Callstack asks nothing (only a file's pane asks a language server) where it showed the next page (lsp.callstack_more, the core's callstack_more, callstackMore and lspRequestAt, the walk's start and cut paths); CallstackDepth stays, as the reference documents it and the user's init sets it; treePrefix reads only the glyphs the tree draws, and the tests that fed it others take the drawn ones; callstack-inline.snap goes with its layout and callstack.snap snaps its style in its stead (its golden gains that section, the text byte-identical); the reference, the guide, the changelog's entry and both builtins lists say so Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- docs/typ/reference.typ | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'docs/typ/reference.typ') diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ index e0d230d7..d3210814 100644 --- a/docs/typ/reference.typ +++ b/docs/typ/reference.typ @@ -266,15 +266,12 @@ A line written to #file("exec") is #word("Exec"): language still holds the old name, a row per such file (zls renaming at a declaration; from a use it reaches every file); #word("Callstack") (#key("g c") or #key("SPC l b")) opens and focuses `+Callstack`, - with static caller ancestry, tree-sitter signatures and Look locations - for callers and call sites, test callers after the rest at each level; run - in `+Callstack` itself, it shows the next page of a tree too big for one. + a tree of static caller ancestry: tree-sitter signatures and Look locations + for callers and call sites, each snippet below its location, test callers + after the rest at each level, and a tree bigger than one answer holds cut + there, its last row saying so. #word("CallstackDepth") reports or sets the runtime depth (1–64, default 8) for subsequent queries. - `CallstackLayout stacked` (the default) aligns snippets below their locations; - `CallstackLayout inline` places the snippets beside them. - `CallstackCorners rounded` (the default) or `CallstackCorners square` - selects the tree corner style for the next query; bare, it switches styles. #word("Callers") and #word("Callees") keep their short lists and single-result jumps. #word("Diagnostics") and #word("Symbols") list the file's in `+Search`; -- cgit v1.3