diff --git a/flake.nix b/flake.nix index 38fd089..954fab7 100644 --- a/flake.nix +++ b/flake.nix @@ -57,7 +57,6 @@ extraSpecialArgs = specialArgs // { inherit pkgs; - libn = nixvim.lib.${system}; icons = import ./utils/icons.nix; }; }; diff --git a/plugins/alpha.nix b/plugins/alpha.nix index f888ec9..07306a7 100644 --- a/plugins/alpha.nix +++ b/plugins/alpha.nix @@ -1,6 +1,6 @@ # homepage: https://github.com/goolord/alpha-nvim # nixvim doc: https://nix-community.github.io/nixvim/plugins/alpha/index.html -{ icons, libn, pkgs, ... }: +{ helpers, icons, pkgs, ... }: let header = { @@ -115,7 +115,7 @@ in end require("alpha").setup({ - layout = ${libn.helpers.toLuaObject layout}, + layout = ${helpers.toLuaObject layout}, }) ''; }; diff --git a/plugins/telescope.nix b/plugins/telescope.nix index 9dd2037..166289c 100644 --- a/plugins/telescope.nix +++ b/plugins/telescope.nix @@ -1,6 +1,6 @@ # homepage: https://github.com/nvim-telescope/telescope.nvim # nixvim doc: https://nix-community.github.io/nixvim/plugins/telescope/index.html -{ libn, pkgs, ... }: +{ helpers, pkgs, ... }: { opts = { @@ -61,7 +61,7 @@ }: { inherit key mode; - action.__raw = "function() TelescopeWithTheme('${fn}', ${libn.helpers.toLuaObject args}) end"; + action.__raw = "function() TelescopeWithTheme('${fn}', ${helpers.toLuaObject args}) end"; options = { inherit desc; }; }; in