Skip to content

Commit 065d3bc

Browse files
committed
docs(ui): note treesitter syntax highlights in stack preview
1 parent c838d93 commit 065d3bc

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ peekstack.nvim focuses on preserving the _trail_ of your exploration.
2424
### Core
2525

2626
- 🧭 **Peek stack UI**: stack / cascade / single layouts
27-
- 🧱 **Stack view**: list popups, focus, pin, rename, reorder, history
27+
- 🧱 **Stack view**: list popups, focus, pin, rename, reorder, history, preview syntax highlights
2828
- 🔍 **Providers**: LSP / diagnostics / file / marks
2929
- 🚀 **Promote**: fast split/tab promotion
3030
- 🧷 **Inline + quick peek**: inline preview or ephemeral popups
@@ -42,7 +42,7 @@ peekstack.nvim focuses on preserving the _trail_ of your exploration.
4242
- Neovim ≥ 0.10
4343
- `rg` (only if you use `grep.search`)
4444
- Optional: `telescope.nvim` / `fzf-lua` / `snacks.nvim` (if you switch picker backends)
45-
- Optional: Tree-sitter parsers (if you enable `ui.title.context`; Neovim bundles the runtime, but parsers are separate)
45+
- Optional: Tree-sitter parsers (for `ui.title.context` and stack view preview syntax highlighting; Neovim bundles the runtime, but parsers are separate)
4646

4747
## 🚀 Installation
4848

doc/peekstack.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ Commands are registered after `setup()` is called.
161161
Open the stack view panel listing all active popups.
162162
The focused popup is highlighted with a `▶` marker.
163163
Each entry shows a preview line of the source code below it.
164+
Preview lines use Tree-sitter based syntax highlights when available.
164165

165166
:PeekstackSaveSession *:PeekstackSaveSession*
166167
Save the current popup stack to disk (requires persist.enabled = true).
@@ -409,7 +410,7 @@ Stack view highlights:
409410
PeekstackStackViewIcon Provider icon (links to Special)
410411
PeekstackStackViewLine Line number (links to LineNr)
411412
PeekstackStackViewFocused Focused entry marker (links to Type)
412-
PeekstackStackViewPreview Preview line text (links to Comment)
413+
PeekstackStackViewPreview Preview line base text (links to Comment)
413414
PeekstackStackViewFilter Filter header (links to Search)
414415
PeekstackStackViewHeader Stack header (links to Title)
415416
PeekstackStackViewEmpty Empty state text (links to Comment)

0 commit comments

Comments
 (0)