You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there's text after the cursor, the completion result of next arg is used instead of current arg. This is probably an error in the calculation of arg_number, which causes a wrong query string to be used to call vim.fn.getcompletion().
For example, :lua bit.| vim.api. returns the completion result for the table vim.api instead of bit.
Make sure you have done the following
blink.cmp
<C-k>
on https://cmp.saghen.dev)Bug Description
When there's text after the cursor, the completion result of next arg is used instead of current arg. This is probably an error in the calculation of
arg_number
, which causes a wrong query string to be used to callvim.fn.getcompletion()
.For example,
:lua bit.| vim.api.
returns the completion result for the tablevim.api
instead ofbit
.Demo using repro.lua

relevant locals in the demo:
neovim
versionv0.10.4
blink.cmp
versionmain
The text was updated successfully, but these errors were encountered: