test: LAZY_OFFLINE support for minit
Some checks are pending
CI / ci (push) Waiting to run
Community / community (push) Has been skipped
Docs / docs (push) Has been skipped

This commit is contained in:
Folke Lemaitre 2025-10-02 18:41:39 +02:00
commit a21b7bf2e7
No known key found for this signature in database
GPG key ID: 9B52594D560070AB

View file

@ -62,7 +62,9 @@ function M.setup(opts)
if vim.g.colors_name == nil then
vim.cmd("colorscheme habamax")
end
require("lazy").update():wait()
if not vim.env.LAZY_OFFLINE then
require("lazy").update():wait()
end
if vim.bo.filetype == "lazy" then
local errors = false
for _, plugin in pairs(require("lazy.core.config").spec.plugins) do