summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/config.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/config.md b/docs/config.md
index f369d798..5b5641ba 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -157,7 +157,8 @@ LocationsConfig context:5 tscontext:on tslocations:off
`0`). Overlapping context is shown once. These neighboring lines omit their
locations and keep their code aligned with the matching result.
- `tscontext` includes enclosing tree-sitter declaration headers in source
- order (default `off`).
+ order (default `off`). Preceding neighboring context stops at the outermost
+ enclosing declaration, keeping unrelated lines above it out of the result.
- `tslocations` shows a location on the first line of each declaration header
(default `on`); continuation lines keep the same alignment without repeating
the location. Declaration headers use the same muted color as locations, with or