From e12977f3c49cf95ca76b996e01a783ad3a6909c8 Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Fri, 6 Oct 2023 12:11:00 -0400 Subject: [PATCH] fix: keep stable astronvim updating in the current major release to avoid breaking changes --- lua/config/lazy.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua index 607db17..cb9586b 100644 --- a/lua/config/lazy.lua +++ b/lua/config/lazy.lua @@ -13,8 +13,7 @@ local USE_STABLE = false require("lazy").setup { spec = { -- TODO: remove branch v4 on release - { "AstroNvim/AstroNvim", branch = "v4", version = USE_STABLE and "*" or nil, import = "astronvim.plugins" }, - -- { "AstroNvim/AstroNvim", version = "3.x", import = "astronvim.plugins" }, -- use this line to only get updates for v3 and avoid the breaking changes if v4 is released + { "AstroNvim/AstroNvim", branch = "v4", version = USE_STABLE and "^4" or nil, import = "astronvim.plugins" }, { import = "astronvim.lazy_snapshot", cond = USE_STABLE }, -- AstroCommunity import any community modules here -- TODO: Remove branch v4 on release