Skip to content

Conversation

@xzbdmw
Copy link

@xzbdmw xzbdmw commented May 6, 2024

close #1908
debounce_next_tick_by_keymap is a sync call, and this is the only place it is called.
This change makes o faster, also i,a, etc.

@mortezadadgar
Copy link

@hrsh7th anything stop this pr from being merged? like OP I recorded a profile that is showing cmp.visible is causing long delays
profile.json

myfile-out.mp4

@xzbdmw
Copy link
Author

xzbdmw commented Mar 14, 2025

cmp.visible is another problem, it waits all completion result to come back and block for 1s use vim.wait

@mortezadadgar
Copy link

yeah sorry it's unrelated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cmp.core:prepare() is expansive and calls for every InsertEnter

2 participants