Vimdiff Whitespace Highlighting
austinliuigi opened this issue · comments
@austinliuigi are you referring to the aggressive background colors or to the listchars (e.g. end-of-line marker) which are highlighted with a black background?
The former can be easily tweaked by using nord1
as background color for diffs instead of this reverse effect:
Incidentally, this also makes listchars blend better with the background (I deliberately changed their colors to nord9
here to make them stand out in the screenshot, but the default is also nord1
).
I'm happy to send a PR with a suggestion to make it the default if you like what I just showed.
Looks great, a pr would be wonderful
@shaunsingh @austinliuigi actually a PR won't be necessary. I just realized this theme already supports let g:nord_uniform_diff_background = 1
since #100, just like the official Vim theme.
Use this in your init.lua
and you're good to go:
vim.g.nord_uniform_diff_background = true