refactor(plugins): use default helpers arg instead of extraSpecialArg
This commit is contained in:
parent
71c1bc295f
commit
ab1c96edc9
3 changed files with 4 additions and 5 deletions
|
|
@ -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},
|
||||
})
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue