{ config, lib, ... }: let inherit (lib.modules) mkMerge; inherit (lib.options) mkOption literalMD; inherit (lib.types) either str listOf attrsOf nullOr submodule; inherit (lib.attrsets) mapAttrsToList; inherit (lib.lists) flatten; inherit (lib.trivial) pipe; inherit (lib.nvim.config) mkBool; mapConfigOptions = { desc = mkOption { type = nullOr str; default = null; description = '' Description for the keybind, to be shown in which-key, if you have enabled in the module system. ''; }; action = mkOption { type = str; description = "The command to execute."; }; lua = mkBool false '' If true, `action` is considered to be lua code. Thus, it will not be wrapped in `""`. ''; silent = mkBool true "Whether this mapping should be silent. Equivalent to adding to a map."; nowait = mkBool false "Whether to wait for extra input on ambiguous mappings. Equivalent to adding to a map."; script = mkBool false "Equivalent to adding