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
The locally defined class vim.api.keyset.keymap has a name collision with the original nvim version. This results in diagnostic errors when blink.cmp is added to the workspace library.
The name collision happens if I include blink.cmp in my Lua workspace library. Then there are bunch of diagnostics errors from lua_ls as it tries to map my config entries to blink defined one.
It's a minor issue and I haven't checked other Neovim versions. But I believe the one in blink should be named within its own namespace to avoid conflicts with Neovim's built-in names.
Make sure you have done the following
blink.cmp
Bug Description
The locally defined class
vim.api.keyset.keymap
has a name collision with the original nvim version. This results in diagnostic errors whenblink.cmp
is added to the workspace library.blink.cmp/lua/blink/cmp/keymap/fallback.lua
Line 4 in 85fc2e7
https://github.com/neovim/neovim/blob/master/runtime/lua/vim/_meta/api_keysets.lua#L189
Relevant configuration
No response
neovim version
v0.10.3
blink.cmp
version: branch, tag, or commitv0.8.2
The text was updated successfully, but these errors were encountered: