From 213ec71150d5400f364394d2d37e5a2e12a9424d Mon Sep 17 00:00:00 2001 From: BirdeeHub Date: Fri, 5 Jan 2024 23:21:50 -0800 Subject: [PATCH] also added dev.paths option, and added it to the readme documentation --- README.md | 2 ++ lua/lazy/core/config.lua | 1 + 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 93f2385..fb80912 100644 --- a/README.md +++ b/README.md @@ -322,6 +322,8 @@ return { dev = { -- directory where you store your local plugin projects path = "~/projects", + -- you may also include a list of paths to also check. + extra_paths = nil, ---@type string[] plugins that match these patterns will use your local versions instead of being fetched from GitHub patterns = {}, -- For example {"folke"} fallback = false, -- Fallback to git when local plugin doesn't exist diff --git a/lua/lazy/core/config.lua b/lua/lazy/core/config.lua index 14c6c92..ab67da7 100644 --- a/lua/lazy/core/config.lua +++ b/lua/lazy/core/config.lua @@ -32,6 +32,7 @@ M.defaults = { dev = { -- directory where you store your local plugin projects path = "~/projects", + -- you may include a list of local paths to also check. extra_paths = nil, ---@type string[] plugins that match these patterns will use your local versions instead of being fetched from GitHub patterns = {}, -- For example {"folke"}