ci(lazy): allow to use a different lazy plugin directory

This commit is contained in:
Folke Lemaitre 2023-01-02 09:50:31 +01:00
parent d4a48226da
commit 650a7429f3
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -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 },