mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 23:16:46 +00:00
19 lines
374 B
Nix
19 lines
374 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.options) mkEnableOption mkOption;
|
|
inherit (lib.types) attrsOf 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 str;
|
|
default = {};
|
|
};
|
|
};
|
|
}
|