mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
wrapper: fix additionalRuntimePaths lua script (#349)
This commit is contained in:
parent
21f4e5b9ab
commit
0984e84444
1 changed files with 1 additions and 5 deletions
|
@ -155,11 +155,7 @@ in {
|
||||||
-- The following list is generated from `vim.additionalRuntimePaths`
|
-- The following list is generated from `vim.additionalRuntimePaths`
|
||||||
-- and is used to append additional runtime paths to the
|
-- and is used to append additional runtime paths to the
|
||||||
-- `runtimepath` option.
|
-- `runtimepath` option.
|
||||||
local additionalRuntimePaths = ${listToLuaTable cfg.additionalRuntimePaths};
|
vim.opt.runtimepath:append(${listToLuaTable cfg.additionalRuntimePaths})
|
||||||
|
|
||||||
for _, path in ipairs(additionalRuntimePaths) do
|
|
||||||
vim.opt.runtimepath:append(path)
|
|
||||||
end
|
|
||||||
''}
|
''}
|
||||||
|
|
||||||
${optionalString cfg.disableDefaultRuntimePaths ''
|
${optionalString cfg.disableDefaultRuntimePaths ''
|
||||||
|
|
Loading…
Reference in a new issue