From af06571d68472f351b9b68553fdd82dd66a9c06b Mon Sep 17 00:00:00 2001 From: BirdeeHub Date: Fri, 5 Jan 2024 23:56:47 -0800 Subject: [PATCH] I had forgotten to normalize the paths --- README.md | 2 +- lua/lazy/core/config.lua | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b4a470e..560fb33 100644 --- a/README.md +++ b/README.md @@ -322,7 +322,7 @@ return { dev = { -- directory where you store your local plugin projects path = "~/projects", - -- you may include a list of local paths to also check. + -- you may include a list of local paths to also check. e.g. { '~/projects1', '~/projects1' } 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"} diff --git a/lua/lazy/core/config.lua b/lua/lazy/core/config.lua index ab67da7..72e0e15 100644 --- a/lua/lazy/core/config.lua +++ b/lua/lazy/core/config.lua @@ -32,7 +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. + -- you may include a list of local paths to also check. e.g. { '~/projects1', '~/projects1' } 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"} @@ -220,6 +220,8 @@ function M.setup(opts) M.options.root = Util.norm(M.options.root) M.options.dev.path = Util.norm(M.options.dev.path) + M.options.dev.extra_paths = Util.norm(M.options.dev.extra_paths) + M.options.performance.rtp.custom_config_dir = Util.norm(M.options.performance.rtp.custom_config_dir) M.options.lockfile = Util.norm(M.options.lockfile) M.options.readme.root = Util.norm(M.options.readme.root)