spotlight.nvim
Mark any number of tokens in a log at once, in colors you can tell apart, and keep them there. You are reading a log. You spot a request id, a PID, an IP, an error code — and you want to see every other occurrence, right now. Several tokens at once, and they have to stay put: through searches, through scrolling, through a :split.
- status
- beta — Beta stage — active development. This repository is past its first shape and in active use, but the surface is not frozen: breaking changes are still possible. Pin a commit or tag if you depend on it.
- category
- Debug & inspect
- neovim
- 0.9+
- repo
- github.com/StefanBartl/spotlight.nvim
- commits
- 90
- help
- :help spotlight
demo
demos/spotlight.tape in a clean Neovim — re-recorded weekly
what is shown when
- :Spotlight add - mark a token everywhere
- :Spotlight - toggle the token under the cursor
- :Spotlight clear
install
{
"StefanBartl/spotlight.nvim",
opts = {},
} docs/
- BINDINGS.md
- CONTRIBUTING.md
- README.md
- WORKFLOW.md
- api.md
- architecture.md
- commands.md
- configuration.md
- health.md
- hover.md
- installation.md
- quickstart.md
- troubleshooting.md
- what-you-get.md
git log
- feat menu: integrations.ui_menu switch + enabled() for ui.nvim's right-click menu
- docs link back to the wkd family site
- ci bump leafo/gh-actions-lua and gh-actions-luarocks off Node 20
- ci bump JohnnyMorganz/stylua-action to v5 (Node-20 deprecation)
- docs TESTS: align run.lua header examples with the ci.yml -n/-i NONE invocation
- ci bump the failure-log upload to actions/upload-artifact@v7 (Node 24)
- ci add job timeouts, failure log artifacts, swap/shada-free nvim runs, pinned deps
- fix config: keymaps' false carve-out let any non-table value through (ERR-22)
- fix config: reject unknown keys before the merge (ERR-50)
- fix persist,sets: warn when a persisted snapshot is corrupt, not silently empty (ERR-11)
- fix config: stop an empty section erasing defaults, merges alias DEFAULTS (ERR-22, ERR-51)
- fix sets: invalidate the cache before a write can clobber it (PERF-42)