-
-
Notifications
You must be signed in to change notification settings - Fork 958
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flickering on scrolling by arrow keys with semantic highlight enabled #5199
Comments
Reproduced with vim, works as expected on nvim. |
From [start-height*1.5, end+height*1.5] to [start-height/2, end+height/2], decrease items to highlight Related #5199, should reduce flickering happened
From [start-height*1.5, end+height*1.5] to [start-height/2, end+height/2], decrease items to highlight Related #5199, should reduce flickering happened
Please try the master branch, which includes improvements for highlighting. |
hi,
I have just checked latest update, I will test it and
I will report you back soon,
thank you
Cristiano De Michele
***@***.***
… Il giorno 26 nov 2024, alle ore 06:05, Heyward Fann ***@***.***> ha scritto:
Please try the master branch, which includes improvements for highlighting.
—
Reply to this email directly, view it on GitHub <#5199 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADU4YGRK7DTMYRZXBT4LQGT2CP6SFAVCNFSM6AAAAABSK3ECCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJZGY3DQNJXGQ>.
You are receiving this because you authored the thread.
|
Hi,
in .vimrc best Cristiano |
I've increased the default number to 500. The number is used to limit how many items to highlight per time. If the server returns a large count items, coc.nvim will repeatedly to highlight multiple times, this makes the flickering. In my test, 500 is enough for most cases, coc.nvim only performs highlighting one or two times. |
Result from CocInfo
Describe the bug
After one of last update on cocnvim on github with semantinc highligh enabled
if I scroll by using arrow keys it annoyingly flickers. I attach also a video where
in the first part I use arrow keys to scroll (when it flickers) and in the second part
I scroll by using the mouse wheel (and it does not flickers)
Reproduce the bug
We will close your issue when you don't provide minimal vimrc and we can't
reproduce it
Start (neo)vim with command:
vim -u mini.vim
open the following file:
sim.hpp.zip
type G then CTRL-O to go back to first line
start scrolling down by pressing once "page down" and then repeatedly pressing "down arrow"
it flickers
Screenshots (optional)
flickering.mp4
The text was updated successfully, but these errors were encountered: