2024-07-08 21:57:58 +00:00
|
|
|
{lib, ...}: let
|
2024-02-20 22:15:18 -05:00
|
|
|
inherit (lib.options) mkEnableOption mkOption;
|
2024-06-12 01:24:03 +02:00
|
|
|
inherit (lib.types) attrsOf nullOr str;
|
2023-11-06 17:50:27 -07:00
|
|
|
in {
|
2023-02-28 10:13:56 +03:00
|
|
|
options.vim.binds.whichKey = {
|
2023-06-05 23:10:25 +03:00
|
|
|
enable = mkEnableOption "which-key keybind helper menu";
|
2024-02-20 22:15:18 -05: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-20 22:15:18 -05:00
|
|
|
default = {};
|
|
|
|
};
|
2023-02-28 10:13:56 +03:00
|
|
|
};
|
|
|
|
}
|