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
|
{lib, ...}: let
|
||||||
inherit (lib.modules) mkRemovedOptionModule;
|
inherit (lib.modules) mkRemovedOptionModule;
|
||||||
inherit (lib.options) mkOption mkEnableOption;
|
inherit (lib.options) mkOption mkEnableOption;
|
||||||
inherit (lib.types) submodule attrs;
|
inherit (lib.types) submodule attrs attrsOf;
|
||||||
inherit (lib.nvim.types) mkPluginSetupOption;
|
inherit (lib.nvim.types) mkPluginSetupOption;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -26,12 +26,9 @@ in {
|
||||||
description = "Scroll options";
|
description = "Scroll options";
|
||||||
};
|
};
|
||||||
|
|
||||||
keymaps = mkOption {
|
keymaps = {
|
||||||
description = "Keymap options for Cinnamon. Please see documentation before enablg";
|
basic = mkEnableOption "basic animation keymaps";
|
||||||
type = submodule {
|
extra = mkEnableOption "extra animation keymaps";
|
||||||
basic = mkEnableOption "basic animation keymaps";
|
|
||||||
extra = mkEnableOption "extra animation keymaps";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue