From af435ba7e4fd34dd5eab17bd21ce535b6f9b8413 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 15 Sep 2026 17:44:34 -0300 Subject: Align search and LSP results in groups of eight matches --- docs/config.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/config.md b/docs/config.md index 2474c6b0..ffd1fb3f 100644 --- a/docs/config.md +++ b/docs/config.md @@ -159,8 +159,11 @@ LocationsConfig context:5 tscontext:on tslocations:off `on`). Declaration headers use the same muted color as locations, with or without their locations visible. -Result locations are padded so the source text aligns, preserving the source's -indentation. All visible locations start flush left; `n` and `N` still stop on matches. +Result locations share padding in groups of eight matches, so a long path only +widens its own group. Context does not count toward the eight; at group boundaries, +it aligns with the nearer match (ties stay with the preceding group). Source +indentation is preserved. All visible locations start flush left; `n` and `N` +still stop on matches. With `tscontext` enabled, asterisks after a match location show its declaration depth (for example, `main.zig:42 ***`). Ordinary neighboring source lines retain syntax colors; declaration headers do not. -- cgit v1.3