diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-15 13:21:29 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-09-15 17:24:42 -0300 |
| commit | 2bdde8c5ec1049ea0f575c6f9165ed4cef00ea50 (patch) | |
| tree | 0d7879e387223bd19d78a295bee0ba7ab3a62e00 /docs/config.md | |
| parent | 8ec8924cd577f71953f8e420af1cd60da92f3300 (diff) | |
| download | pardes-2bdde8c5ec1049ea0f575c6f9165ed4cef00ea50.tar.gz pardes-2bdde8c5ec1049ea0f575c6f9165ed4cef00ea50.zip | |
Align location results and configure source context
Diffstat (limited to 'docs/config.md')
| -rw-r--r-- | docs/config.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/config.md b/docs/config.md index d986855e..e8c25ceb 100644 --- a/docs/config.md +++ b/docs/config.md @@ -128,6 +128,28 @@ scrolling; scrolling upward reveals that source line as the headers recede. `Dump` and `Restore` preserve the setting per pane. Customized tags retain their text; the command can still be executed from any source pane. +`LocationsConfig` prints the current settings for Search, Grep and LSP location +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 +``` + +- `context` is the number of source lines above and below each match (default + `0`). Overlapping context is shown once. +- `tscontext` includes enclosing tree-sitter declaration headers in source + order (default `off`). +- `tslocations` shows locations beside those declaration headers (default + `on`). Turning it off keeps the headers' syntax colors. + +Result locations are padded so the source text aligns, preserving the source's +indentation. Context rows begin with `| `; `n` and `N` still stop on matches. +Open file buffers supply context from their current edits. Missing files still +leave the original result available. These settings apply to subsequent result +generation and survive `Dump`/`Restore`. Invalid fields reject the entire +update; if a field appears twice, its last value wins. + `WindowOpacity <percent>` controls the opacity of everything in the SDL window except text and the cursor, which stay fully opaque. Use `WindowOpacity 85` to see the desktop through the editor, or `WindowOpacity 100` to restore full |
