machakann / vim-highlightedyank

Make the yanked region apparent!
844 stars 22 forks source link

[Bug?] Artifact remains when yanking wrapped lines #55

Closed MahdiNazemi closed 1 year ago

MahdiNazemi commented 1 year ago

Assume I have the following line in a README.md file when the terminal is full screen:

Full Screen

If I make the terminal window narrow, the line will wrap around as shown below:

Before

If I yank this line, the artifact remains in the gutter:

Screenshot 2023-09-15 at 5 15 25 PM

My other extensions that affect the gutter are:

MahdiNazemi commented 1 year ago

Previously, all visual selections activated highlightedyank, so I suspected this plugin could be causing this issue. However, after adding set clipboard-=autoselect to my ~/.vimrc, I see that visual selection has the same issue, so I suspect another plugin or bad setting is causing this.

It may be related to this issue