lspkind.nvim
lspkind.nvim copied to clipboard
Error E5108: Error executing ...lspkind.lua:3: attempt to call field 'init' (a nil value)
I'm getting the following error on startup since the last update:
I have the same problem
same for me
This hit me as well, when I upgraded to the new neovim 0.7 release.
There was an undocumented breaking change in #44.
Just change init
to setup
like so:
local lspkind = require("lspkind")
lspkind.setup()
Also, note that the plugin changed it's name from lspkind-nvim
to lspkind.nvim
Rewriting my init code in the style of the updated homepage fixed it all; thanks for the pointer!
Would still be nice for a little warning.
Thanks, works well
PR #44 randomly and suddenly breaks the plugin without any warning, deprecation, or documentation (UPDATE: this is now reverted).
In addition, some public APIs like lspkind.presets
and lspkind.symbol_map
are gone and removed, often used in completion engines and there are no alternatives for them.