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/WKDSteve/insights.nvim
- commits
- 228
- 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
{
"WKDSteve/insights.nvim",
opts = {},
} docs/
- BINDINGS.md
- CONTRIBUTING.md
- README.md
- WORKFLOW.md
- architecture.md
- automatic-triggers.md
- cli.md
- commands.md
- configuration.md
- health.md
- hover.md
- installation.md
- quickstart.md
- what-you-get.md
git log
- test symbols: scan_cwd reads a file below a folder with an umlaut
- perf symbols: scan the Lua files of the cwd as text instead of loading each into a buffer
- perf imports, symbols, metrics: list files with the lib walker instead of globpath "**"
- docs readme: connections to the other repos of the workshop, as a picture and a list
- docs readme: the icon of the plugin on top, the files in assets/icons/insights-nvim
- ci regenerate the workflow, the ci-verified lookup fails closed (pipefail)
- test sheets: the feature catalog, and the sheets name their feature
- chore ci: regenerate the workflow (luacheck as a checked release binary, testing.nvim d9d2d35)
- chore scripts: scripts/test.sh from the current template (stopping it reaches nvim, lint subcommand)
- fix cli: metrics leaves out @types files as the editor does; unimported finds the right line
- fix cli: imports --lang narrows to the language
- feat cli: the static analyses without the editor (scripts/insights.lua)