neovim-flake/modules/plugins/utility/binds/which-key/which-key.nix

19 lines
390 B
Nix
Raw Normal View History

{
config,
lib,
...
}: let
inherit (lib.options) mkEnableOption mkOption;
2024-06-12 01:24:03 +02:00
inherit (lib.types) attrsOf nullOr str;
in {
options.vim.binds.whichKey = {
enable = mkEnableOption "which-key keybind helper menu";
register = mkOption {
description = "Register label for which-key keybind helper menu";
2024-06-12 01:24:03 +02:00
type = attrsOf (nullOr str);
default = {};
};
};
}