summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-15 13:13:36 -0300
committerGabriel Schneider <[email protected]>2026-09-15 17:24:42 -0300
commit8ec8924cd577f71953f8e420af1cd60da92f3300 (patch)
treefb28f12321fd263a3dda07e9c82c24477df1f48f /docs
parentffc700d14d61fd5e6ca874a186932300c447c836 (diff)
downloadpardes-8ec8924cd577f71953f8e420af1cd60da92f3300.tar.gz
pardes-8ec8924cd577f71953f8e420af1cd60da92f3300.zip
Add optional tree-sitter declaration context
Diffstat (limited to 'docs')
-rw-r--r--docs/config.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/config.md b/docs/config.md
index 99da2fdd..d986855e 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -118,6 +118,16 @@ the current value. A `FocusTint` line in a fresh startup configuration disables
the tint; a `SyntaxBold` line enables the stronger keyword weight. Those two
appearance controls leave focus, selections and editing behavior unchanged.
+`TreeContext` toggles sticky declaration headers for the current source pane.
+It is off by default and appears in the default pane tag when a tree-sitter
+grammar supports that file. `TreeContext on` and `TreeContext off` set it
+explicitly. Scrolling inside a function, type or module keeps its enclosing
+declarations above the body, with source line numbers, syntax colors and a
+subtle background tint. Clicking a header moves the cursor there without
+scrolling; scrolling upward reveals that source line as the headers recede.
+`Dump` and `Restore` preserve the setting per pane. Customized tags retain
+their text; the command can still be executed from any source pane.
+
`WindowOpacity <percent>` controls the opacity of everything in the SDL window
except text and the cursor, which stay fully opaque. Use `WindowOpacity 85`
to see the desktop through the editor, or `WindowOpacity 100` to restore full