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
I can imagine this is a gnarly one, because expected behavior is presumably somewhat lua-specific, as in other contexts users do expect prefixes (in this case " to be overwritten).
I noticed this when trying to autocomplete a path, like when typing "/home/user/W" then using autocomplete to choose Workspace autocomplete would replace previous path elements e.g. resulting in "/home/Workspace" replacing the user part.
However this seems to not happen, when properly accepting the autocompletion entries every time. So typing "/ho" then accepting home, then selecting and accepting user/ and then selecting and accepting Workspace/ works fine for me.
The error instead occurs for me when usingauto_insert. Then typing "/ho" selecting home to auto_insert it, keep typing "us" then selecting user/ might auto insert it not at the end but at the beginning, replacing home.
Make sure you have done the following
blink.cmp
Bug Description
tmp.lua
nvim -u tmp.lua
local blink = require "
, completion appearsblink
with<C-y>
"
being erroneously overwrittenScreenshot for 3.
Screenshot for 4.
I can imagine this is a gnarly one, because expected behavior is presumably somewhat lua-specific, as in other contexts users do expect prefixes (in this case
"
to be overwritten).Relevant configuration
neovim version
NVIM v0.11.0-dev-1376+g738320188f Build type: Release LuaJIT 2.1.0-beta3 Run "nvim -V1 -v" for more info
blink.cmp
version: branch, tag, or commitmain
The text was updated successfully, but these errors were encountered: