diff --git a/lua/lazyvim/plugins/core.lua b/lua/lazyvim/plugins/core.lua index 26f4ac33..1a9cf06d 100644 --- a/lua/lazyvim/plugins/core.lua +++ b/lua/lazyvim/plugins/core.lua @@ -1,13 +1,9 @@ -local specs = { - -- set to HEAD for now. I'm sill making too many changes for this repo related to lazy itself - { "folke/lazy.nvim", version = false }, -} - -- only add for >=9.0.1, since there's an endless loop in earlier versions -if require("lazyvim.config").has(">=9.1.0") then - specs[#specs + 1] = { "LazyVim/LazyVim", priority = 10000, lazy = false, config = true } -else +if not require("lazyvim.config").has(">=9.1.0") then require("lazyvim.config").setup() + return {} end -return specs +return { + { "LazyVim/LazyVim", priority = 10000, lazy = false, config = true }, +}