Debug & inspect · beta · Neovim 0.9+ · 138 commits
diff.nvim
Flexible diffing for Neovim: one :Diff command compares arbitrary sources — buffers, files, git revisions, URLs, whole directories — against each other and delivers the result however you like: split, inline, prompt, file, clipboard, or a one-line stat summary.
demos/diff.tape in a clean Neovim — re-recorded weekly
what is shown when
- :Diff target=file - this buffer against a file
- ]c and [c - jump between hunks
Install
{
"StefanBartl/diff.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
- fix notify: route keymaps.lua's shortcut warnings through diff.util.notify
- feat notify: request popup delivery explicitly in diff.nvim's notifier
- docs link back to the wkd family site
- feat core.git: resolve() via lib.nvim.git.show_async, not a hand-built vim.system call (GS-14)
- ci bump JohnnyMorganz/stylua-action to v5 (Node-20 deprecation)
- docs TESTS: align run.lua header examples with the ci.yml -n/-i NONE invocation
- test run: restore stubbed globals after every spec
- ci publish ci-verified fail-closed and with a lease on the compared tip
Combos
- Git family
Git tooling for the editor: history and diffing, and the repo-health numbers around them.