-
Notifications
You must be signed in to change notification settings - Fork 251
Buffer source with lua fuzzy implementation only shows a few candidiates. #1789
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
Comments
Here I disable the LSP source. |
As a comparison, this is the behavior before #1735 with same configs. |
Oops my fault! Can you try the PR mentionned above (using |
Yes, it works. BTW, is it possible to configure the #buf_text limit 20000 and 500000 through require('blink.cmp').setup ? |
It's not at the moment but I'd happily accept a PR for it. You could add the option here and then update the reference documentation for it. |
Add `max_sync_buffer_size` and `max_async_buffer_size` options for controlling processing mode. Also refactor buffer source initialization to use unified option table with basic validation. Related #1789
Add `max_sync_buffer_size` and `max_async_buffer_size` options for controlling processing mode. Also refactor buffer source initialization to use unified option table with basic validation. Related #1789
These options are available respectively through |
Make sure you have done the following
blink.cmp
<C-k>
on https://cmp.saghen.dev)Bug Description
When many visible buffers are opened, #buf_text in blink/cmp/sources/buffer.lua may exceed 20000 but less than 500000.
After #1735 the run_async_lua can only show very few candidates for buffer source completion.
It works fine before #1735.
Relevant configuration
neovim
versionNVIM v0.11.0 Build type: Release LuaJIT 2.1.1741730670 Run "nvim -V1 -v" for more info
blink.cmp
versionmain
The text was updated successfully, but these errors were encountered: