Debug & inspect · beta · Neovim 0.9+ · 228 commits
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.
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
Connections
Tap the picture to open it at full size.
Install
{
"WKDSteve/insights.nvim",
opts = {},
} 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.
Documentation
Recent commits
- 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)
Combos
- Diagnostics neighbors
Related, not interchangeable -- each answers a different "what's going on" question (the editor, the program, the codebase, over time).
dap.nvim , debugging.nvim , runtime-analysis.nvim , lsp.nvim