mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-21 17:59:48 +01: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