My colors currently look like this, with the text highlighted green on both sides: My setup

I would like it to be red on the left, and green on the right.

I tried to change the DiffDelete highlight, but that is for the greyed out area opposite the green highlighted text. And when I change the DiffAdd highlight, both sides change! I know that this is possible, this setup pulls it off: Some other guy's setup

I believe the theme used there is Tokyo Night, but this isn't accomplished in the theme, when I tried it, it had the same behavior- green on both sides. How can I accomplish this?

1 Answer 1


This is a feature of diffview.nvim. :help diffview-config-enhanced_diff_hl

To set the colors after enabling this option, DiffAdd remains the same, the text on the left side is set at DiffviewDiffAddAsDelete, and the dashes opposite the DiffAdd blocks are set at DiffviewDiffDelete.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.