Compare commits

..

3 commits

Author SHA1 Message Date
Ching Pei Yang
d57a83ee39
Merge ff9a93d3ed into 773186d93d 2024-08-05 23:39:42 -04:00
773186d93d
flake: update nixpkgs & mnw 2024-07-29 21:06:50 +03:00
Ching Pei Yang
0984e84444
wrapper: fix additionalRuntimePaths lua script (#349) 2024-07-29 14:02:00 +00:00
2 changed files with 7 additions and 11 deletions

View file

@ -69,11 +69,11 @@
}, },
"mnw": { "mnw": {
"locked": { "locked": {
"lastModified": 1722037780, "lastModified": 1722191188,
"narHash": "sha256-ejkSFN5qHf161CnFq73b2LZlnJzYidBwUEtdx5/hNiY=", "narHash": "sha256-YF//iMALbrd2Ni9aju7w8NniH16Qz6RFTRD6md5UkDc=",
"owner": "Gerg-L", "owner": "Gerg-L",
"repo": "mnw", "repo": "mnw",
"rev": "81e98e83d863d4fad506ed932d432570030cedd3", "rev": "c7b289f3f5a31b6e744be37d83fc231816621231",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -129,11 +129,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1721016451, "lastModified": 1722141560,
"narHash": "sha256-Cypl9ORr5UjtBsbjXMTJRepTe362yNVrPrntUvHiTaw=", "narHash": "sha256-Ul3rIdesWaiW56PS/Ak3UlJdkwBrD4UcagCmXZR9Z7Y=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a14c5d651cee9ed70f9cd9e83f323f1e531002db", "rev": "038fb464fcfa79b4f08131b07f2d8c9a6bcc4160",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

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