feat(plugins/astrocore): configure which-key groups name
This commit is contained in:
parent
2e8dbe9585
commit
2b6a512de0
3 changed files with 17 additions and 4 deletions
|
|
@ -17,7 +17,7 @@ in
|
|||
];
|
||||
|
||||
config = ''
|
||||
require('astrocore').setup({
|
||||
require("astrocore").setup({
|
||||
diagnostics = ${helpers.toLuaObject diagnostics},
|
||||
features = ${helpers.toLuaObject features},
|
||||
options = ${helpers.toLuaObject options.astrocore},
|
||||
|
|
@ -41,5 +41,7 @@ in
|
|||
inherit (autocmds) autoGroups autoCmd;
|
||||
inherit (mappings) keymaps;
|
||||
inherit (options) opts;
|
||||
|
||||
plugins.which-key.registrations = mappings.mapSections;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue