feat(plugins/astrocore): configure which-key groups name

This commit is contained in:
Nicolas Goudry 2024-06-07 18:33:13 +02:00
parent 2e8dbe9585
commit 2b6a512de0
No known key found for this signature in database
GPG key ID: 5FC434D9FFD1DF44
3 changed files with 17 additions and 4 deletions

View file

@ -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;
};
}