refactor: move LazyVim init to core

This commit is contained in:
Folke Lemaitre
2023-01-25 08:59:45 +01:00
parent bd4f350503
commit 2321847e72
3 changed files with 3 additions and 9 deletions

View File

@ -1,8 +1,4 @@
-- only add for >=9.0.1, since there's an endless loop in earlier versions
if not require("lazyvim.config").has(">=9.1.0") then
require("lazyvim.config").setup()
return {}
end
require("lazyvim.config").init()
return {
{ "folke/lazy.nvim", version = "*" },