mappings: fix wrong submodule syntax

This commit is contained in:
Ching Pei Yang 2024-08-13 00:23:06 +02:00
commit 444f3ac1e1

View file

@ -28,15 +28,18 @@
};
mapType = submodule {
mode = mkOption {
type = either str (listOf str);
description = ''
The short-name of the mode to set the keymapping for. Passing an empty string is the equivalent of `:map`.
options =
mapConfigOptions
// {
mode = mkOption {
type = either str (listOf str);
description = ''
The short-name of the mode to set the keymapping for. Passing an empty string is the equivalent of `:map`.
See `:help map-modes` for a list of modes.
'';
};
inherit (mapConfigOptions) desc action lua silent nowait script expr unique noremap;
See `:help map-modes` for a list of modes.
'';
};
};
};
# legacy stuff