From 09ea3e37425b661c0814d540ebed2ede29f16c0e Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Mon, 26 May 2025 17:37:06 +0200 Subject: [PATCH] Lazy's default path for locally developed plugins is now ~/dev/git, also fallback to repository if no local plugin is found --- nvim/lua/lazy_init.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nvim/lua/lazy_init.lua b/nvim/lua/lazy_init.lua index d34ddf8..0872fb9 100644 --- a/nvim/lua/lazy_init.lua +++ b/nvim/lua/lazy_init.lua @@ -14,6 +14,10 @@ vim.opt.rtp:prepend(lazypath) -- Initialize plugins, add a plugin by creating a new file in the plugins dir require("lazy").setup("plugs", { git = { - timeout = 300 - } + timeout = 300 + }, + dev = { + path = "~/dev/git/", + fallback = true, + }, })