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