I've started using vimdiff and I'm trying to set up colors for it. The DiffAdd
and DiffDelete
groups work fine, however I would like DiffChange
and DiffText
to be different colors for the old and new version of the file respectively. (Specifically, red for the old file, and green for the new. This is how Visual Studio Code works, for example.
The problem is that highlight colors are shared between buffers. Is there a way around this? I was hoping there would be a way to write a function that would remap all instances of DiffChange
to MyDiffChange
in a pane, but I haven't found a way to do that.
Even a fairly hacky solution would do since it only has to work for this specific use case.