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.

Repository README :help

recorded with VHS from demos/insights.tape in a clean Neovim — re-recorded weekly
what is shown when
  1. annotation comments - TODO, FIX, HACK coloured as you read
  2. :Insights fileinfo - fs.stat of the buffer in a float
  3. :Insights todos - every annotation in the tree, to the quickfix list

Connections

insights.nvim: what it uses and what uses it

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

  1. test symbols: scan_cwd reads a file below a folder with an umlaut
  2. perf symbols: scan the Lua files of the cwd as text instead of loading each into a buffer
  3. perf imports, symbols, metrics: list files with the lib walker instead of globpath "**"
  4. docs readme: connections to the other repos of the workshop, as a picture and a list
  5. docs readme: the icon of the plugin on top, the files in assets/icons/insights-nvim
  6. ci regenerate the workflow, the ci-verified lookup fails closed (pipefail)
  7. test sheets: the feature catalog, and the sheets name their feature
  8. chore ci: regenerate the workflow (luacheck as a checked release binary, testing.nvim d9d2d35)

Combos