wrapper: fix additionalRuntimePaths lua script (#349)

This commit is contained in:
Ching Pei Yang 2024-07-29 16:02:00 +02:00 committed by GitHub
parent 21f4e5b9ab
commit 0984e84444
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -155,11 +155,7 @@ in {
-- The following list is generated from `vim.additionalRuntimePaths`
-- and is used to append additional runtime paths to the
-- `runtimepath` option.
local additionalRuntimePaths = ${listToLuaTable cfg.additionalRuntimePaths};
for _, path in ipairs(additionalRuntimePaths) do
vim.opt.runtimepath:append(path)
end
vim.opt.runtimepath:append(${listToLuaTable cfg.additionalRuntimePaths})
''}
${optionalString cfg.disableDefaultRuntimePaths ''