also added dev.paths option, and added it to the readme documentation

This commit is contained in:
BirdeeHub 2024-01-05 23:21:50 -08:00
commit 213ec71150
2 changed files with 3 additions and 0 deletions

View file

@ -322,6 +322,8 @@ return {
dev = { dev = {
-- directory where you store your local plugin projects -- directory where you store your local plugin projects
path = "~/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 ---@type string[] plugins that match these patterns will use your local versions instead of being fetched from GitHub
patterns = {}, -- For example {"folke"} patterns = {}, -- For example {"folke"}
fallback = false, -- Fallback to git when local plugin doesn't exist fallback = false, -- Fallback to git when local plugin doesn't exist

View file

@ -32,6 +32,7 @@ M.defaults = {
dev = { dev = {
-- directory where you store your local plugin projects -- directory where you store your local plugin projects
path = "~/projects", path = "~/projects",
-- you may include a list of local paths to also check.
extra_paths = nil, extra_paths = nil,
---@type string[] plugins that match these patterns will use your local versions instead of being fetched from GitHub ---@type string[] plugins that match these patterns will use your local versions instead of being fetched from GitHub
patterns = {}, -- For example {"folke"} patterns = {}, -- For example {"folke"}