Closed dasupradyumna closed 1 year ago
It was a mistake on my part... some other part of my config was setting DiffText
group to DiffChange
, and so the word level diff highlighting was effectively invisible.
Sorry for the noise in the issues.
No worries, glad you figured it out! Just to confirm: I'm not using any plugins to change how the diff highlighting works, I'm only adjusting the highlights.
For future reference, diffchar.vim plays pretty nicely with diffview.nvim for word-level diffing, especially when you enable linematch
in :h diffopt
the enhance line matching (my config for reference).
Hope this helps someone! Steven Hé (Sīchàng)
Hello Sindre!
This is just a question, not an issue as such. I'm sorry, but your setup is just too visually appealing. How do I get the word / character level diff highlighting that can be seen in your README screenshots? I've tried searching online for a bit, and I've found diffchar.vim so far. Could you tell me what you used in your config?
Cheers ~