From a21b7bf2e7c78e90696d13163e7cae761a414f28 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Thu, 2 Oct 2025 18:41:39 +0200 Subject: [PATCH] test: LAZY_OFFLINE support for minit --- lua/lazy/minit.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/lazy/minit.lua b/lua/lazy/minit.lua index 0b8f3ca..2eb2270 100644 --- a/lua/lazy/minit.lua +++ b/lua/lazy/minit.lua @@ -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