Skip to content

Commit

Permalink
wrapper: fix additionalRuntimePaths lua script (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
horriblename authored Jul 29, 2024
1 parent 21f4e5b commit 0984e84
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions modules/wrapper/rc/options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ''
Expand Down

0 comments on commit 0984e84

Please sign in to comment.