I have a pretty similar problem as in this issue with some exceptions.
Basically, after I scroll page down or up Ctrl+d
/ Ctrl+u
all non-empty lines get highlight from the end of the line to the right side of the screen.
:nohlsearch
doesn't change anything, highlight disappears only if I move a cursor with :set cursorline
through them.
My .vimrc
is here, I did a few steps because initially, I thought it's caused by some plugins interference:
- I commented on all plugins and enabled only syntax - the issue still exists.
- I commented part of vim setup except for syntax - the issue still exists.
I don't have any more ideas about what can cause it.
- OS: Windows WSL - Ubuntu
- VIM version:
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled May 23 2020 22:18:09)
(compiled from source)
:set t_ut=
with an empty value like that? See also: superuser.com/q/1526515/879179 – filbranden♦ May 26 '20 at 10:42t_Co
with no success butt_ut
works like a charm. After the scroll, screen blink highlight for a moment but that's acceptable. If the source of the problem is the bug from the linked issue, I believe there's no fix for my machine yet. Personally I'm waiting for a build with WSL2, I hope it will work much smoother. I wish I could mark your comment as a solution. – Mishaszu May 26 '20 at 11:47