cinnamon-nvim: get rid of submodule in setupOpts

This commit is contained in:
NotAShelf 2024-10-07 01:56:29 +03:00
parent 658d380232
commit b4de344253
No known key found for this signature in database
GPG key ID: AF26552424E53993

View file

@ -1,7 +1,7 @@
{lib, ...}: let
inherit (lib.modules) mkRemovedOptionModule;
inherit (lib.options) mkOption mkEnableOption;
inherit (lib.types) submodule attrs;
inherit (lib.types) submodule attrs attrsOf;
inherit (lib.nvim.types) mkPluginSetupOption;
in {
imports = [
@ -26,13 +26,10 @@ in {
description = "Scroll options";
};
keymaps = mkOption {
description = "Keymap options for Cinnamon. Please see documentation before enablg";
type = submodule {
keymaps = {
basic = mkEnableOption "basic animation keymaps";
extra = mkEnableOption "extra animation keymaps";
};
};
};
};
}