fix: keep stable astronvim updating in the current major release to avoid breaking changes

pull/2/head
Micah Halter 2023-10-06 12:11:00 -04:00
parent 3697cce5a1
commit e12977f3c4
No known key found for this signature in database
GPG Key ID: 4224A6EA9A8CAAA8
1 changed files with 1 additions and 2 deletions

View File

@ -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