2024-02-21 04:15:18 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
inherit (lib.options) mkEnableOption mkOption;
|
2024-06-12 01:24:03 +02:00
|
|
|
inherit (lib.types) attrsOf nullOr str;
|
2023-11-07 01:50:27 +01:00
|
|
|
in {
|
2023-02-28 08:13:56 +01:00
|
|
|
options.vim.binds.whichKey = {
|
2023-06-05 22:10:25 +02:00
|
|
|
enable = mkEnableOption "which-key keybind helper menu";
|
2024-02-21 04:15:18 +01:00
|
|
|
|
|
|
|
register = mkOption {
|
|
|
|
description = "Register label for which-key keybind helper menu";
|
2024-06-12 01:24:03 +02:00
|
|
|
type = attrsOf (nullOr str);
|
2024-02-21 04:15:18 +01:00
|
|
|
default = {};
|
|
|
|
};
|
2023-02-28 08:13:56 +01:00
|
|
|
};
|
|
|
|
}
|