summaryrefslogtreecommitdiff
path: root/docs/config.md
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-15 15:11:14 -0300
committerGabriel Schneider <[email protected]>2026-09-15 17:24:42 -0300
commit7d75f5d7f1394a09c6a2cc42c2a9a60e6aef7b12 (patch)
treeb3102012a030560431a9360840e80a5e7316cb1e /docs/config.md
parent40c19fd4f52d20df94c2dfa2d68102b89bd9d3f1 (diff)
downloadpardes-7d75f5d7f1394a09c6a2cc42c2a9a60e6aef7b12.tar.gz
pardes-7d75f5d7f1394a09c6a2cc42c2a9a60e6aef7b12.zip
Mute result declaration context and show nesting after locations
Diffstat (limited to 'docs/config.md')
-rw-r--r--docs/config.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/config.md b/docs/config.md
index 8a8f1d23..53c76087 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -150,10 +150,14 @@ LocationsConfig context:5 tscontext:on tslocations:off
- `tscontext` includes enclosing tree-sitter declaration headers in source
order (default `off`).
- `tslocations` shows locations beside those declaration headers (default
- `on`). Turning it off keeps the headers' syntax colors.
+ `on`). Declaration headers use the same muted color as locations, with or
+ without their locations visible.
Result locations are padded so the source text aligns, preserving the source's
-indentation. Context rows begin with `| `; `n` and `N` still stop on matches.
+indentation. Context rows begin with two spaces; `n` and `N` still stop on matches.
+With `tscontext` enabled, asterisks after a match location show its declaration
+depth (for example, `main.zig:42 ***`). Ordinary neighboring source lines retain
+syntax colors; declaration headers do not.
Open file buffers supply context from their current edits. Missing files still
leave the original result available. These settings apply to subsequent result
generation and survive `Dump`/`Restore`. Invalid fields reject the entire