Use the overlay view for detailed diffs
mainThe overlay view provides an enhanced, temporary view of diff details directly inside the text area. It can be toggled using MiniDiff.toggle_overlay().
In overlay mode:
- Added lines are highlighted with
MiniDiffOverAdd. - Deleted reference lines appear as virtual text with
MiniDiffOverDelete. - Changed reference lines appear as virtual text with
MiniDiffOverChange. - Word diffs: If
config.options.linematchis enabled and a change hunk has an equal number of buffer and reference lines, a word-level diff is shown. The reference line is displayed next to the buffer line, with changed parts highlighted byMiniDiffOverChangeand the rest byMiniDiffOverContext.