From 9d7c0e0b25be84449b4fcf27b71c9c7364cce5ad Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Mon, 18 Dec 2023 08:11:14 -0500 Subject: [PATCH] feat: AstroNvim configures it's own plugin pinning --- lua/config/lazy.lua | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua index 5247cc0..450f355 100644 --- a/lua/config/lazy.lua +++ b/lua/config/lazy.lua @@ -6,16 +6,10 @@ if not vim.loop.fs_stat(lazypath) then end vim.opt.rtp:prepend(vim.env.LAZY or lazypath) --- TODO: set to true on release --- Whether or not to use stable releases of AstroNvim -local USE_STABLE = false - require("lazy").setup { spec = { - -- TODO: remove branch v4 on release - { "AstroNvim/AstroNvim", branch = "v4", version = USE_STABLE and "^4" or nil, import = "astronvim.plugins" }, - -- pin plugins to known working versions - { import = "astronvim.lazy_snapshot", cond = USE_STABLE }, + -- TODO: change `branch="v4"` to `version="^4"` on release + { "AstroNvim/AstroNvim", branch = "v4", import = "astronvim.plugins" }, -- AstroCommunity: import any community modules here -- TODO: Remove branch v4 on release -- { "AstroNvim/astrocommunity", branch = "v4" },