From db043da829899239399ef04e917a95c4ceb9b8e6 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Thu, 29 Dec 2022 16:04:45 +0100 Subject: [PATCH] fix(config): reset packpath to include VIMRUNTIME only. Fixes #214 --- lua/lazy/core/config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazy/core/config.lua b/lua/lazy/core/config.lua index 508ed22..281086f 100644 --- a/lua/lazy/core/config.lua +++ b/lua/lazy/core/config.lua @@ -175,7 +175,7 @@ function M.setup(spec, opts) M.options.readme.root = Util.norm(M.options.readme.root) if M.options.performance.reset_packpath then - vim.go.packpath = "" + vim.go.packpath = vim.env.VIMRUNTIME end M.me = debug.getinfo(1, "S").source:sub(2)