-
Notifications
You must be signed in to change notification settings - Fork 12
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
lag while scrolling using default configuration #35
Comments
I compare the grammar benchmark to one for another language (in this case, rust -- much faster) with a similar match count |
one thing i notice (found in the profile output), is that we spend quite a bit of time in highlight_match_pair
|
here are the first few lines of the raku :syntime report
|
and the rust:
|
i suppose the questions I have are the following:
|
i found a workaround:
|
I found MatchParen to be a big contributor to this lag, as a workaround I put |
#Description of issue
I load the plugin via Packer
I run :PackerUpdate.
The next time I launch vim, it looks like everything is working except that I experience massive lag while scrolling up and down in the buffer. Sometimes I also get the lag when entering new text.
The lag feels like up to a second for each keystroke. It is prohibitive to any sort of editing raku files.
File sizes are only a few hundred lines.
Here is the output of syntime report after scrolling up and down for a bit on a 160 line raku file:
https://termbin.com/stjp
Output of
vim --version
#profile output
https://termbin.com/wd9x
The text was updated successfully, but these errors were encountered: