mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-02 17:15:10 +02:00
ci(lazy): allow to use a different lazy plugin directory
This commit is contained in:
parent
d4a48226da
commit
650a7429f3
1 changed files with 3 additions and 2 deletions
|
@ -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 },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue