Debug & inspect · beta · Neovim 0.9+ · 139 commits

recommender.nvim

Finds the repetition in your code and offers to do something about it. It reads a buffer — or a wider scope — for dotted chains repeated often enough to be worth aliasing, and puts the suggestions in a float you can act on without leaving it. Pure Neovim, no external tooling.

Repository README :help

recorded with VHS from demos/recommender.tape in a clean Neovim — re-recorded weekly
what is shown when
  1. :Recommender - chains repeated in this buffer, and the alias for each
  2. j and Enter - pick a suggestion, insert its alias
  3. :Recommender 2 - a lower threshold finds more

Connections

recommender.nvim: what it uses and what uses it

Tap the picture to open it at full size.

Install

{
  "WKDSteve/recommender.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. perf project: find_files walks once for all extensions instead of globpath per extension
  2. docs regenerate the connection pictures (optional loads through probe/safe/package.loaded)
  3. docs graphs: the connections picture has no title above an empty column
  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/recommender-nvim
  6. chore ci: regenerate the workflow (luacheck as a checked release binary, testing.nvim d9d2d35)
  7. test sheets: the feature catalog, and the sheets name their feature
  8. chore scripts: scripts/test.sh from the current template (stopping it reaches nvim, lint subcommand)

Combos