summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-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