treewide: rename function defaultAttributes to pushDownDefault

This commit is contained in:
Frothy 2024-02-25 22:52:21 -05:00
commit 4716fd731f
13 changed files with 25 additions and 25 deletions

View file

@ -3,7 +3,7 @@
lib,
...
}: let
inherit (lib) addDescriptionsToMappings mkIf mkSetBinding nvim defaultAttributes;
inherit (lib) addDescriptionsToMappings mkIf mkSetBinding nvim pushDownDefault;
cfg = config.vim.lsp;
@ -17,7 +17,7 @@ in {
vim.maps.normal = mkSetBinding mappings.open ":CodeActionMenu<CR>";
vim.binds.whichKey.register = defaultAttributes {
vim.binds.whichKey.register = pushDownDefault {
"<leader>c" = "+CodeAction";
};

View file

@ -3,7 +3,7 @@
lib,
...
}: let
inherit (lib) addDescriptionsToMappings mkIf mkMerge mkSetBinding nvim defaultAttributes;
inherit (lib) addDescriptionsToMappings mkIf mkMerge mkSetBinding nvim pushDownDefault;
cfg = config.vim.lsp;
@ -24,7 +24,7 @@ in {
(mkSetBinding mappings.locList "<cmd>TroubleToggle loclist<CR>")
];
vim.binds.whichKey.register = defaultAttributes {
vim.binds.whichKey.register = pushDownDefault {
"<leader>l" = "Trouble";
"<leader>x" = "+Trouble";
"<leader>lw" = "Workspace";