refactor(config): moved loading of options, keymaps and autocmds to lazyvim.config

This commit is contained in:
Folke Lemaitre 2023-01-10 10:20:28 +01:00
parent 7b943822db
commit dcf520f3a7
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
4 changed files with 38 additions and 34 deletions

View file

@ -5,7 +5,9 @@ local specs = {
-- 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 }
specs[#specs + 1] = { "LazyVim/LazyVim", priority = 10000, lazy = false, config = true }
else
require("lazyvim.config").setup()
end
return specs