mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-10-09 03:32:15 +00:00
test: LAZY_OFFLINE support for minit
This commit is contained in:
parent
a1380a8461
commit
a21b7bf2e7
1 changed files with 3 additions and 1 deletions
|
@ -62,7 +62,9 @@ function M.setup(opts)
|
||||||
if vim.g.colors_name == nil then
|
if vim.g.colors_name == nil then
|
||||||
vim.cmd("colorscheme habamax")
|
vim.cmd("colorscheme habamax")
|
||||||
end
|
end
|
||||||
require("lazy").update():wait()
|
if not vim.env.LAZY_OFFLINE then
|
||||||
|
require("lazy").update():wait()
|
||||||
|
end
|
||||||
if vim.bo.filetype == "lazy" then
|
if vim.bo.filetype == "lazy" then
|
||||||
local errors = false
|
local errors = false
|
||||||
for _, plugin in pairs(require("lazy.core.config").spec.plugins) do
|
for _, plugin in pairs(require("lazy.core.config").spec.plugins) do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue