docs: fix docs build

This commit is contained in:
n3oney 2023-05-03 12:17:49 +02:00
parent 221bf56624
commit 065bab00ab
No known key found for this signature in database
GPG key ID: C786693DE727850E

View file

@ -13,13 +13,6 @@ with builtins; let
EOF EOF
''; '';
mkMappingOption = it:
mkOption ({
default = {};
type = with types; attrsOf (nullOr str);
}
// it);
mkBool = value: description: mkBool = value: description:
mkOption { mkOption {
type = types.bool; type = types.bool;
@ -31,23 +24,23 @@ with builtins; let
mapConfigOptions = { mapConfigOptions = {
silent = silent =
mkBool false mkBool false
"Whether this mapping should be silent. Equivalent to adding <silent> to a map."; (nvim.nmd.asciiDoc "Whether this mapping should be silent. Equivalent to adding <silent> to a map.");
nowait = nowait =
mkBool false mkBool false
"Whether to wait for extra input on ambiguous mappings. Equivalent to adding <nowait> to a map."; (nvim.nmd.asciiDoc "Whether to wait for extra input on ambiguous mappings. Equivalent to adding <nowait> to a map.");
script = script =
mkBool false mkBool false
"Equivalent to adding <script> to a map."; (nvim.nmd.asciiDoc "Equivalent to adding <script> to a map.");
expr = expr =
mkBool false mkBool false
"Means that the action is actually an expression. Equivalent to adding <expr> to a map."; (nvim.nmd.asciiDoc "Means that the action is actually an expression. Equivalent to adding <expr> to a map.");
unique = unique =
mkBool false mkBool false
"Whether to fail if the map is already defined. Equivalent to adding <unique> to a map."; (nvim.nmd.asciiDoc "Whether to fail if the map is already defined. Equivalent to adding <unique> to a map.");
noremap = noremap =
mkBool true mkBool true
@ -194,7 +187,6 @@ in {
example = '' example = ''
maps = { maps = {
normalVisualOp.";" = ":"; # Same as noremap ; :
normal."<leader>m" = { normal."<leader>m" = {
silent = true; silent = true;
action = "<cmd>make<CR>"; action = "<cmd>make<CR>";