diffview.nvim icon indicating copy to clipboard operation
diffview.nvim copied to clipboard

No syntax highlighting for changed / deleted / updated lines

Open t-ober opened this issue 1 year ago • 2 comments

I can not quit figure out why there is no syntax highlighting going on for changed / deleted / updated lines. That makes the corresponding code quite hard to read.

Here is an example:

image

It does not seem to be dependent on the theme I am using. Any pointers would be much appreciated 🙂

t-ober avatar Feb 29 '24 14:02 t-ober

I am using NvChad, so it might have something to do with how they set up the ui and themes.

t-ober avatar Mar 05 '24 11:03 t-ober

Check the highlight you have for DiffText

eonpatapon avatar Mar 08 '24 16:03 eonpatapon

We don't change any builtin highlights here. This is related to your color scheme. If you wish to customize the diff highlights, the relevant groups are documented under :h hl-DiffAdd.

sindrets avatar May 29 '24 14:05 sindrets