From 505dedb2459e7b51cbdb0c066698c6e5596d19dd Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 15 Sep 2026 18:33:12 -0300 Subject: Bound preceding result context by its outermost tree-sitter declaration --- docs/config.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') 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 -- cgit v1.3