Describe the bug
When doing visual selection over search results, highlight of search results disappear.
To Reproduce
Detailed steps to reproduce the behavior:
vim -g -u NONE +'set hlsearch'Search highlight is overruled by Visual.Expected behavior
Search highlight is not overruled by Visual.
Environment (please complete the following information):
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
It is correct that the Visual highlighting has higher priority, since it's temporarily while search highlighting stays around. It would also be difficult to see the Visual area if there are many search matches (e.g. whole lines).
However, I notice that the highlight is overruled, while it could be combined. You could make Search highlight bold, then it would still be visible.