From 94d1537497ff004009732528f33467128a90b9d6 Mon Sep 17 00:00:00 2001 From: Niverton Date: Sun, 10 Dec 2023 10:07:06 +0100 Subject: [PATCH] Use Astrobox dev dir by default --- lua/config/lazy.lua | 7 ++++++- lua/plugins/10-colorscheme.lua | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua index 304ef96..61d234a 100644 --- a/lua/config/lazy.lua +++ b/lua/config/lazy.lua @@ -17,9 +17,14 @@ vim.opt.rtp:prepend(vim.env.LAZY or lazypath) local USE_STABLE = false require("lazy").setup { + dev = { + path = "~/Workspace", + patterns = {}, + fallback = true, -- Fallback to git when local plugin doesn't exist + }, spec = { -- 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 { import = "astronvim.lazy_snapshot", cond = USE_STABLE }, { import = "plugins" }, diff --git a/lua/plugins/10-colorscheme.lua b/lua/plugins/10-colorscheme.lua index 3102586..3a2f0fe 100644 --- a/lua/plugins/10-colorscheme.lua +++ b/lua/plugins/10-colorscheme.lua @@ -8,8 +8,8 @@ return { }, { name = "astrobox", - -- dir = "~/Workspace/astrobox/", url = "https://git.niverton.tk/niverton/Astrobox.git", + dev = true, -- Use local dir if available opts = { contrast = "hard" }