Skip to content

feat(review): add diffview adapter#349

Merged
barrettruth merged 2 commits intomainfrom
feat/review-diffview
Apr 20, 2026
Merged

feat(review): add diffview adapter#349
barrettruth merged 2 commits intomainfrom
feat/review-diffview

Conversation

@barrettruth
Copy link
Copy Markdown
Owner

Problem

Forge has the canonical :Forge review command surface now, but it still needs a first real external adapter to prove the no-checkout review path in the main repo. diffview.nvim is the simplest first built-in integration for that model and is tracked in #347.

Solution

Add a built-in diffview review adapter that fetches the PR head into a hidden Forge ref and opens :DiffviewOpen <base>...<head> without checking the branch out.

Update health reporting so built-in external review adapters are surfaced cleanly, optional integrations stay informational, and a configured-but-missing diffview adapter warns.

Document the adapter in the README and vimdoc, add focused review/health/completion specs, and verify with nix develop /home/barrett/dev/forge.nvim#ci --command busted plus nix develop /home/barrett/dev/forge.nvim#ci --command vimdoc-language-server check /home/barrett/dev/forge.nvim/doc/.

Closes #347

Provide a first built-in external review integration so Forge can open
pull requests in diffview.nvim without checking out the branch. This
also teaches healthcheck and completion about adapter availability so
review integrations have a complete user-facing path.
Bring the README and health spec in line with the repo's markdown and Lua
formatting checks so the diffview adapter PR passes the remaining quality
jobs.
@barrettruth barrettruth merged commit abb4e15 into main Apr 20, 2026
8 checks passed
@barrettruth barrettruth deleted the feat/review-diffview branch April 20, 2026 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add diffview.nvim as a built-in review adapter

1 participant