fix: keep stable astronvim updating in the current major release to avoid breaking changes
parent
3697cce5a1
commit
e12977f3c4
|
@ -13,8 +13,7 @@ local USE_STABLE = false
|
||||||
require("lazy").setup {
|
require("lazy").setup {
|
||||||
spec = {
|
spec = {
|
||||||
-- TODO: remove branch v4 on release
|
-- TODO: remove branch v4 on release
|
||||||
{ "AstroNvim/AstroNvim", branch = "v4", version = USE_STABLE and "*" or nil, import = "astronvim.plugins" },
|
{ "AstroNvim/AstroNvim", branch = "v4", version = USE_STABLE and "^4" 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
|
|
||||||
{ import = "astronvim.lazy_snapshot", cond = USE_STABLE },
|
{ import = "astronvim.lazy_snapshot", cond = USE_STABLE },
|
||||||
-- AstroCommunity import any community modules here
|
-- AstroCommunity import any community modules here
|
||||||
-- TODO: Remove branch v4 on release
|
-- TODO: Remove branch v4 on release
|
||||||
|
|
Loading…
Reference in New Issue