From 32ef21ca204ad5359a2070944fb81724de88fa95 Mon Sep 17 00:00:00 2001 From: BirdeeHub Date: Sat, 6 Jan 2024 00:57:00 -0800 Subject: [PATCH] performance.rtp.custom_config_dir actually SHOULD be normalized, as you seem to normalize M.me which gets used in the same place. --- lua/lazy/core/config.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/lazy/core/config.lua b/lua/lazy/core/config.lua index 0775b17..d22f747 100644 --- a/lua/lazy/core/config.lua +++ b/lua/lazy/core/config.lua @@ -239,6 +239,7 @@ function M.setup(opts) M.me = debug.getinfo(1, "S").source:sub(2) M.me = Util.norm(vim.fn.fnamemodify(M.me, ":p:h:h:h:h")) + M.options.performance.rtp.custom_config_dir = Util.norm(M.options.performance.rtp.custom_config_dir) if M.options.performance.rtp.reset then vim.opt.rtp = { M.options.performance.rtp.custom_config_dir,