A temporary workaround using .tmp backups to show visual diffs in your editor after file edits.
~/.config/opencode/opencode.jsonc:
~/.config/opencode/diff.jsonc:
{
"editor": "code",
"os": "linux"
}- editor:
code|cursor|antigravity|windsurf(default:code) - os:
windows|linux(default:linux)
- Editor diffs only show when edits are done (approved or auto-allowed), otherwise diffs appear in TUI only.
- I suggest enabling auto-edit, then you see the change, type
/undoto revert, or feedback for further edits.
{ // Pin version for faster startup "plugin": ["@hoangp8/opencode-plugin-editor-diff@0.0.6"] }