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