summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/config.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/config.md b/docs/config.md
index 5b5641ba..6f3273b9 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -150,7 +150,7 @@ results in an output pane. Execute the printed line to apply it again, or
supply just the fields to change:
```text
-LocationsConfig context:5 tscontext:on tslocations:off
+LocationsConfig context:5 tscontext:on tslocations:off layout:stacked
```
- `context` is the number of source lines above and below each match (default
@@ -163,8 +163,11 @@ LocationsConfig context:5 tscontext:on tslocations:off
(default `on`); continuation lines keep the same alignment without repeating
the location. Declaration headers use the same muted color as locations, with or
without their locations visible.
+- `layout:stacked` (default) puts each location on its own line, followed by its
+ source preview. Hidden context locations do not add an empty address line.
+ Use `layout:inline` to put locations beside the source instead.
-Result locations share padding in groups of eight matches, so a long path only
+In inline layout, 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`