utility/binds/which-key: allow configurable category labels

This commit is contained in:
Frothy 2024-02-20 22:15:18 -05:00
commit 29b9bd4db0
2 changed files with 20 additions and 100 deletions

View file

@ -1,7 +1,18 @@
{lib, ...}: let
inherit (lib) mkEnableOption;
{
config,
lib,
...
}: let
inherit (lib.options) mkEnableOption mkOption;
inherit (lib.types) attrsOf str;
in {
options.vim.binds.whichKey = {
enable = mkEnableOption "which-key keybind helper menu";
register = mkOption {
description = "Register label for which-key keybind helper menu";
type = attrsOf str;
default = {};
};
};
}