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.
demos/recommender.tape in a clean Neovim — re-recorded weekly
what is shown when
- :Recommender - chains repeated in this buffer, and the alias for each
- j and Enter - pick a suggestion, insert its alias
- :Recommender 2 - a lower threshold finds more
Connections
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
- perf project: find_files walks once for all extensions instead of globpath per extension
- docs regenerate the connection pictures (optional loads through probe/safe/package.loaded)
- docs graphs: the connections picture has no title above an empty column
- 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/recommender-nvim
- chore ci: regenerate the workflow (luacheck as a checked release binary, testing.nvim d9d2d35)
- test sheets: the feature catalog, and the sheets name their feature
- chore scripts: scripts/test.sh from the current template (stopping it reaches nvim, lint subcommand)
Combos
- Statusline segments
Each contributes one optional segment to ui.nvim's statusline -- none is a dependency, the segment is simply absent without it.
ui.nvim , filetree.nvim , github_stats.nvim , runtime-analysis.nvim , sessions.nvim , sandbox.nvim