mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
treewide (cleaning): helpers.toLuaObject -> lib.nixvim.toLuaObject
This commit is contained in:
parent
78e295fa41
commit
ec24d496d5
65 changed files with 104 additions and 104 deletions
|
@ -216,7 +216,7 @@ in
|
|||
patterns = {"."},
|
||||
fallback = false
|
||||
},
|
||||
spec = ${helpers.toLuaObject packedPlugins}
|
||||
spec = ${lib.nixvim.toLuaObject packedPlugins}
|
||||
}
|
||||
)
|
||||
'';
|
||||
|
|
|
@ -183,11 +183,11 @@ in
|
|||
luaRockPlugins = luaRockListToLua cfg.rockPlugins;
|
||||
luaRocksString = optionalString (
|
||||
cfg.rockPlugins != [ ]
|
||||
) "use_rocks ${helpers.toLuaObject luaRockPlugins}";
|
||||
) "use_rocks ${lib.nixvim.toLuaObject luaRockPlugins}";
|
||||
in
|
||||
mkIf (cfg.plugins != [ ]) ''
|
||||
require('packer').startup(function()
|
||||
use ${helpers.toLuaObject packedPlugins}
|
||||
use ${lib.nixvim.toLuaObject packedPlugins}
|
||||
${luaRocksString}
|
||||
end)
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue