diff mode doesn't use background highlighting to show changes
Closed this issue · 3 comments
Using neovim (in case it's relevant)
❯ nvim --version
NVIM v0.4.3
Config
let g:equinusocio_material_style = 'pure'
colorscheme equinusocio_material
File 1 (a.txt)
this line is only in a
this line is in both
this line has one char different (a)
File 2 (b.txt)
this line is in both
this line has one char different (b)
this line is only in b
The result of doing nvim -d a.txt b.txt
Here's the same diff using the Nord theme
I'm not sure if this choice was deliberate, but for complex diffs, it's pretty hard to see the changes since they're just different text colors (it almost just looks like syntax highlighting when quickly scanning files). When looking at diffs, I find the background highlighting showing the changes (and type of change, e.g. different character on same line, missing line) useful for quickly seeing what the class of differences are.
Feel free to close if this is by design (although perhaps we could make using background colors an option?)
I'll take a look at it.
look great, thanks!