-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Scrolling performance impact when incline is enabled #69
Comments
Hi, yes Incline does re-render on the CursorMoved event. This is currently not configurable, but there's an open issue for making events configurable: #62. For now, you can try increasing the debounce threshold: require('incline').setup {
debounce_threshold = {
falling = 75,
rising = 75,
},
} |
This helped, thanks. |
Spoke too soon, Neovide still lags when scrolling, even when the cursor line isn't changing. |
Was the original issue with Neovide as well? Do you have this issue with nvim in the terminal? |
with the default values both Kitty and Neovide were affected. It seemed like the increased debounce had helped Kitty, I'll double check. Neovide is still choppy. |
Kitty seems fine with debounce 100, at least on my M1 Max. I do disable vsync in Kitty and |
Thanks for the awesome plugin! I've noticed that while holding C-e/y or C-j/k, if incline is enabled, nvim can't keep up with a 120hz display and I get stutter both in Kitty and Neovide. When I disable incline, the problem goes away. Is it doing work while scrolling that could be paused? Thanks.
The text was updated successfully, but these errors were encountered: