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

perf: use win hide on Neovim >= 0.10 and a fixed extmark id for faster clearing #26

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

folke
Copy link
Contributor

@folke folke commented Nov 27, 2024

Another small PR to optimize two extra things:

  • use a fixed extmark id that can be deleted faster than using clear namespace
  • use win hide on Neovim >= 0.10 to prevent needing to clear and move the window

@sphamba
Copy link
Owner

sphamba commented Nov 27, 2024

Nice!

@sphamba sphamba merged commit 5e31ab1 into sphamba:main Nov 27, 2024
1 check passed
@sphamba sphamba added the performance Something is slow label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Something is slow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants