Not working with LazyVim 9
Martin1887 opened this issue · comments
The following error happens with LazyVim 9.x versions:
Failed to load `lazyvim.plugins.core`
...ocal/share/nvim/lazy/Lazyvim/lua/lazyvim/config/init.lua:271: attempt to index field 'LazyVim' (a nil value)
# stacktrace:
- /Lazyvim/lua/lazyvim/config/init.lua:271 _in_ **init**
- /Lazyvim/lua/lazyvim/plugins/core.lua:1
- ~/.config/nvim/lua/config/lazy.lua:9
- nvim/init.lua:2
The error is in this line:
vim.opt.rtp:append(require("lazy.core.config").spec.plugins.LazyVim.dir)
It seems a problem in the require("lazy").setup
code block of lua/config/lazy.lua
.
Thanks.
Fixed in LazyVim/LazyVim#1628
A new release will be live in a minute or so