diff --git a/lua/lazyvim/config/lazy.lua b/lua/lazyvim/config/lazy.lua index f583b01f..6e46b6eb 100644 --- a/lua/lazyvim/config/lazy.lua +++ b/lua/lazyvim/config/lazy.lua @@ -9,9 +9,10 @@ if not vim.loop.fs_stat(lazypath) then lazypath, }) end -vim.opt.rtp:prepend(lazypath) +vim.opt.rtp:prepend(vim.env.LAZY or lazypath) -require("lazy").setup("plugins", { +require("lazy").setup({ + spec = "lazyvim.plugins", defaults = { lazy = true, version = "*" }, install = { colorscheme = { "tokyonight", "habamax" } }, checker = { enabled = true },