From 444f3ac1e1cb0dd8c278cd083b0074a26fe5313f Mon Sep 17 00:00:00 2001 From: Ching Pei Yang <59727193+horriblename@users.noreply.github.com> Date: Tue, 13 Aug 2024 00:23:06 +0200 Subject: [PATCH] mappings: fix wrong submodule syntax --- modules/neovim/mappings/options.nix | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/modules/neovim/mappings/options.nix b/modules/neovim/mappings/options.nix index 7b785b5d..522079e7 100644 --- a/modules/neovim/mappings/options.nix +++ b/modules/neovim/mappings/options.nix @@ -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