mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-24 10:14:03 -05:00
treewide (cleaning): helpers.toLuaObject -> lib.nixvim.toLuaObject
This commit is contained in:
committed by
nix-infra-bot
parent
78e295fa41
commit
ec24d496d5
@@ -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)
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user