Use Astrobox dev dir by default

This commit is contained in:
2023-12-10 10:07:06 +01:00
parent 2ab379d249
commit 94d1537497
2 changed files with 7 additions and 2 deletions

View File

@@ -17,9 +17,14 @@ vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
local USE_STABLE = false local USE_STABLE = false
require("lazy").setup { require("lazy").setup {
dev = {
path = "~/Workspace",
patterns = {},
fallback = true, -- Fallback to git when local plugin doesn't exist
},
spec = { spec = {
-- TODO: remove branch v4 on release -- TODO: remove branch v4 on release
{ "AstroNvim/AstroNvim", branch = "v4", version = USE_STABLE and "^4" or nil, import = "astronvim.plugins" }, { "AstroNvim/AstroNvim", branch = "v4", version = USE_STABLE and "^4" or nil, import = "astronvim.plugins" },
-- pin plugins to known working versions -- pin plugins to known working versions
{ import = "astronvim.lazy_snapshot", cond = USE_STABLE }, { import = "astronvim.lazy_snapshot", cond = USE_STABLE },
{ import = "plugins" }, { import = "plugins" },

View File

@@ -8,8 +8,8 @@ return {
}, },
{ {
name = "astrobox", name = "astrobox",
-- dir = "~/Workspace/astrobox/",
url = "https://git.niverton.tk/niverton/Astrobox.git", url = "https://git.niverton.tk/niverton/Astrobox.git",
dev = true, -- Use local dir if available
opts = { opts = {
contrast = "hard" contrast = "hard"
} }