summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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