...
E5113: Error while calling lua chunk: ...site/pack/packer/start/lspkind-nvim/lua/lspkind/init.lua:122: attempt to index local 'opts' (a nil value)
stack traceback:
...site/pack/packer/start/lspkind-nvim/lua/lspkind/init.lua:122: in function 'init'
$HOME/.config/nvim/after/plugin/cmp.lua:3: in main chunk
The fix is to change the code to below - but ideally users are not forced to do this:
local lspkind = require("lspkind")
lspkind.init({})
After https://github.com/onsails/lspkind-nvim/commit/5cd692b43a401c9635cc9c5bdb7fe7c62733b41d, the below will no longer work:
and raise an error:
The fix is to change the code to below - but ideally users are not forced to do this: