-
Notifications
You must be signed in to change notification settings - Fork 121
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
Add resolve timeout for accepting #627
Comments
When you get the chance, open |
Btw, I haven't tried the new commit. I am going to use it and see if it helps. |
Sorry I should've clarified, put the print inside the |
NOTE: I am still seeing the lag sometimes. |
Haha, once again I should've clarified 😂 The |
It seems like nvim-cmp skips the |
Make sure you have done the following
blink.cmp
Bug Description
I have a big (around 40k lines of code) Playwright project which heavily uses test fixtures which have a noticeable effect on the performance of the LSP server for TypeScript.
I have noticed lag after accepting a completion item, it takes around 1 or 2 seconds and any text written after accepting the completion item is removed when the completion item is inserted.
The wait for the completion items to show up in the completion list is expected (I also have the same issue with nvim-cmp which is probably the fault of the LSP) but the lag after accepting a completion item in which I cannot write anything because it will be removed after the completion item is inserted seems like an issue with blink.cmp (I haven't seen it when using nvim-cmp).
Here is a recording of the issue:
Screen.Recording.2024-12-17.at.14.09.55.mov
Relevant configuration
You can see my configuration here: https://github.com/datwaft/nvim.conf/blob/d834a1b01457ddcb34f6644efd1caa345d1182e4/lua/packages/completion.lua
If it is relevant I am accepting with
<space>
and have the following completion configuration:neovim version
NVIM v0.11.0-dev-1369+gb03e790cdd
blink.cmp
version: branch, tag, or commitmain (c3ef922)
The text was updated successfully, but these errors were encountered: