treewide (cleaning): helpers.toLuaObject -> lib.nixvim.toLuaObject

This commit is contained in:
Gaetan Lepage 2024-12-15 20:32:14 +01:00 committed by nix-infra-bot
parent 78e295fa41
commit ec24d496d5
65 changed files with 104 additions and 104 deletions

View file

@ -73,7 +73,7 @@ in
in
lib.mkIf (config.userCommands != { }) {
extraConfigLua = helpers.wrapDo ''
local cmds = ${helpers.toLuaObject (lib.mapAttrs cleanupCommand config.userCommands)};
local cmds = ${lib.nixvim.toLuaObject (lib.mapAttrs cleanupCommand config.userCommands)};
for name,cmd in pairs(cmds) do
vim.api.nvim_create_user_command(name, cmd.command, cmd.options or {})
end