mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-08 09:15:57 +01:00
cinnamon-nvim: get rid of submodule in setupOpts
This commit is contained in:
parent
658d380232
commit
b4de344253
1 changed files with 4 additions and 7 deletions
|
@ -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,12 +26,9 @@ in {
|
|||
description = "Scroll options";
|
||||
};
|
||||
|
||||
keymaps = mkOption {
|
||||
description = "Keymap options for Cinnamon. Please see documentation before enablg";
|
||||
type = submodule {
|
||||
basic = mkEnableOption "basic animation keymaps";
|
||||
extra = mkEnableOption "extra animation keymaps";
|
||||
};
|
||||
keymaps = {
|
||||
basic = mkEnableOption "basic animation keymaps";
|
||||
extra = mkEnableOption "extra animation keymaps";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue