feat(config)!: LazyVim can now be configured like any other plugin with {"LazyVim/LazyVim", opts = ... }. config.settings is deprecated

This commit is contained in:
Folke Lemaitre
2023-01-10 10:07:19 +01:00
parent aafc033927
commit 36c84f47c9
7 changed files with 113 additions and 57 deletions

View File

@ -1,4 +1,11 @@
return {
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 = true }
end
return specs