fix(config): reset packpath to include VIMRUNTIME only. Fixes #214

This commit is contained in:
Folke Lemaitre 2022-12-29 16:04:45 +01:00
parent 3a1a10cd75
commit db043da829
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 1 deletions

View File

@ -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)