sindrets / diffview.nvim

Single tabpage interface for easily cycling through diffs for all modified files for any git rev.
Other
3.57k stars 101 forks source link

[Feature] Smart merge #513

Open mudejar opened 1 week ago

mudejar commented 1 week ago

First off, thank you for this useful plugin.

VScode has a pretty neat feature that allows a same line conflict to be resolved very quickly and efficiently.

From here: https://code.visualstudio.com/docs/sourcecontrol/overview#_resolving-conflicts

For some conflicts, the merge editor shows an Accept Combination button. Accepting the combination resolves the current conflict by smartly merging both changes. This is especially useful for changes in the same line that don't touch the same characters.

Would it be feasible to add something like this to this diffview plugin?