summaryrefslogtreecommitdiff
path: root/docs/config.md
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-15 18:33:12 -0300
committerGabriel Schneider <[email protected]>2026-09-15 18:33:12 -0300
commitf4d4395bb46f6ecd6c7e5f58435008ce1d2f1e4b (patch)
tree2f91a90b6889ca00817bbfa58b44af1403d1ec4b /docs/config.md
parent13a726ee1a48a1e70fb9ed7c8046ef28a22adfae (diff)
downloadpardes-f4d4395bb46f6ecd6c7e5f58435008ce1d2f1e4b.tar.gz
pardes-f4d4395bb46f6ecd6c7e5f58435008ce1d2f1e4b.zip
Bound preceding result context by its outermost tree-sitter declaration
Diffstat (limited to 'docs/config.md')
-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