From c1787ff868ee723629c1d500098d36dc419f77c3 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 15 Sep 2026 15:29:52 -0300 Subject: Hide redundant locations on neighboring result context --- 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 3a6d00d2..b0065ad2 100644 --- a/docs/config.md +++ b/docs/config.md @@ -146,7 +146,8 @@ LocationsConfig context:5 tscontext:on tslocations:off ``` - `context` is the number of source lines above and below each match (default - `0`). Overlapping context is shown once. + `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`). - `tslocations` shows locations beside those declaration headers (default -- cgit v1.3