mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-23 02:49:47 +01:00
18 lines
390 B
Nix
18 lines
390 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.options) mkEnableOption mkOption;
|
|
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";
|
|
type = attrsOf (nullOr str);
|
|
default = {};
|
|
};
|
|
};
|
|
}
|