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-10-01 00:12:14 -0300
commit505dedb2459e7b51cbdb0c066698c6e5596d19dd (patch)
tree2f91a90b6889ca00817bbfa58b44af1403d1ec4b /docs/config.md
parent4a3c5a48224cf542429504e8728e10c802e1fd52 (diff)
downloadpardes-505dedb2459e7b51cbdb0c066698c6e5596d19dd.tar.gz
pardes-505dedb2459e7b51cbdb0c066698c6e5596d19dd.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