nvf/modules/plugins/utility/binds/which-key/which-key.nix

15 lines
374 B
Nix
Raw Permalink Normal View History

{lib, ...}: let
inherit (lib.options) mkEnableOption mkOption;
2024-06-11 23:24:03 +00: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-11 23:24:03 +00:00
type = attrsOf (nullOr str);
default = {};
};
};
}