mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 09:49:48 +01:00
docs: fix docs build
This commit is contained in:
parent
221bf56624
commit
065bab00ab
1 changed files with 5 additions and 13 deletions
|
@ -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>";
|
||||||
|
|
Loading…
Reference in a new issue