Got this as fugitive's :Gdiff result. I can't read text in diffs:

It's standard Vim 7.4 in Plasma's Konsole.
Maybe default diffs colors could be more appropriate?
#2044
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
have you checked the settings from the linked issue number?
Any other advise?
So it seems definitely the problem of the default color scheme.
Changing the scheme solves the problem.
But, the default should be fixed I think.
The simplest thing to do is shut off syntax highlighting.
:syn off
Personally, I think it should be automatically set to off upon entering diff mode. You end up with two different sets of highlighting competing with each other, the highlighting for the file type and the highlighting for diff mode itself. It's always unreadable and the first thing I do every time I use diff mode is :syn off.
Others schemes work without turning off the syntax highlighting, so I doubt if it's a good solution.
But thanks anyway.
Personally, I think it should be automatically set to off upon entering diff mode. You end up with two different sets of highlighting competing with each other, the highlighting for the file type and the highlighting for diff mode itself. It's always unreadable and the first thing I do every time I use diff mode is :syn off.
FWIW, I agree. That's why I ask Vim to clear the syntax when I'm in diff mode:
augroup NoSyntaxInDiffMode | au! au OptionSet diff exe v:option_new == '1' ? 'syn clear' : 'do Syntax' au VimEnter * IfDiffSynClear() :def IfDiffSynClear() if !&l:diff | return | endif getwininfo()->map({_, v -> win_execute(v.winid, 'syn clear')}) enddef augroup END
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()