Skip to content
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

cursorcolumn drastically slows down scrolling #28340

Open
thunder-coding opened this issue Apr 15, 2024 · 3 comments
Open

cursorcolumn drastically slows down scrolling #28340

thunder-coding opened this issue Apr 15, 2024 · 3 comments
Labels
bug-vim wrong behavior inherited from vim display redraw, layout, presentation highlight performance issues reporting performance problems

Comments

@thunder-coding
Copy link

Problem

Open a large file with syntax highlighting. It does not need to be super large (I could also reproduce it with 30-40 , but syntax highlighting is a must to reproduce the issue). Scroll through the file using hjkl motions, there is significant lag when you keep spamming hjkl with 20 repeat/s desktop environment configuration. I tried capturing this with OBS, but with 30 fps, the problem isn't noticable in the recording, and at 60fps, OBS drops a lots of frames for me.

This issue seems to be similar to #8159

Steps to reproduce

nvim --clean
:e src/bit.c
:lua vim.opt.cursorcolumn = true

Expected behavior

NeoVim should not lag terribly

Neovim version (nvim -v)

0.9.5 (also reproducible on 0.6.0 and master (did not check all versions in between))

Vim (not Nvim) behaves the same?

yes, but it's not that visible in vim as it is in neovim. 9.1.0252

Operating system/version

Arch Linux (all packages up to date)

Terminal name/version

kitty

$TERM environment variable

xterm-kitty

Installation

Arch repository

@thunder-coding thunder-coding added the bug issues reporting wrong behavior label Apr 15, 2024
@zeertzjq zeertzjq added performance issues reporting performance problems bug-vim wrong behavior inherited from vim and removed bug issues reporting wrong behavior labels Apr 15, 2024
@zeertzjq
Copy link
Member

zeertzjq commented Apr 15, 2024

Related #6071 #23590

@zeertzjq zeertzjq added highlight display redraw, layout, presentation labels Apr 15, 2024
@justinmk

This comment was marked as resolved.

@thunder-coding

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-vim wrong behavior inherited from vim display redraw, layout, presentation highlight performance issues reporting performance problems
Projects
None yet
Development

No branches or pull requests

3 participants