Reputation: 12018
In VIM I'm using syntastic configured to highlight the lines with warnings and errors:
The problem is the background of concealed characters. As can be seen, λ
, which replaces \
, gets a different background than the line highlighted (it's not my cursor there). Notice that ctermbg=NONE
for the Conceal
highlighting group.
Is there a fix for this?
Upvotes: 1
Views: 993
Reputation: 151
:hi clear Conceal
to turn off the conceal highlight.
I found it here.
Upvotes: 1
Reputation: 172570
I see this, too, and I don't think there's a way to overcome this. The priorities of syntax highlighting, 'hlsearch'
, 'cursorline'
, and concealed characters (which is a part of syntax highlighting) are fixed and cannot be overruled. You can only influence the priority of the matchadd()
definitions.
Upvotes: 3