insights.nvim
Static analysis of the project you are in, from inside Neovim. One :Insights command over symbol indexing, multi-language import analysis, Lua code metrics, annotation comments (TODO, FIX, … listed project-wide and coloured in the buffer), file-tree utilities, and automatic checks for git conflicts, unused imports and stray dev servers.
- 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/insights.nvim
- commits
- 156
- help
- :help insights
demo
demos/insights.tape in a clean Neovim — re-recorded weekly
what is shown when
- annotation comments - TODO, FIX, HACK coloured as you read
- :Insights fileinfo - fs.stat of the buffer in a float
- :Insights todos - every annotation in the tree, to the quickfix list
install
{
"StefanBartl/insights.nvim",
opts = {},
} docs/
- BINDINGS.md
- CONTRIBUTING.md
- README.md
- WORKFLOW.md
- architecture.md
- automatic-triggers.md
- commands.md
- configuration.md
- health.md
- hover.md
- installation.md
- quickstart.md
- what-you-get.md
git log
- refactor todos: back eligible()'s size cache with lib.nvim.cache.memory
- test todos: guarantee todos_spec.lua's restore runs even on failure
- fix todos: re-scan on rename, make SIZE_STAT_TTL_MS a live value
- fix todos: key eligible()'s size_cache on filename too, not just bufnr
- perf todos: cache eligible()'s file-size stat, drop line:sub() allocation
- fix todos: recognize any doc-comment grammar injected on a comment node
- fix todos: detect a keyword inside a comment when the `comment` grammar is injected
- feat notify: move config setup() validation onto lib.nvim.notify
- docs link back to the wkd family site
- feat conflicts: swap own rev-parse+diff for lib.nvim.git.status_porcelain (GS-14)
- ci bump leafo/gh-actions-lua and gh-actions-luarocks off Node 20
- ci bump JohnnyMorganz/stylua-action to v5 (Node-20 deprecation)