diff --git a/modules/autopairs/nvim-autopairs/nvim-autopairs.nix b/modules/autopairs/nvim-autopairs/nvim-autopairs.nix index 73b6bed..7e45606 100644 --- a/modules/autopairs/nvim-autopairs/nvim-autopairs.nix +++ b/modules/autopairs/nvim-autopairs/nvim-autopairs.nix @@ -1,10 +1,10 @@ {lib, ...}: let - inherit (lib) mkRenamedOptionModule; + inherit (lib) mkRemovedOptionModule; inherit (lib.options) mkEnableOption mkOption; - inherit (lib.types) enum bool; + inherit (lib.types) enum; in { imports = [ - # (mkRenamedOptionModule ["vim" "autopairs" "nvim-compe"] ["vim" "autopairs" "nvim-compe" "setupOpts"]) + (mkRemovedOptionModule ["vim" "autopairs" "nvim-compe"] "nvim-compe is deprecated and no longer suported.") ]; options.vim = { @@ -16,26 +16,6 @@ in { default = "nvim-autopairs"; description = "Set the autopairs type. Options: nvim-autopairs [nvim-autopairs]"; }; - - nvim-compe.setupOpts = lib.nvim.types.mkPluginSetupOption "nvim-compe" { - map_cr = mkOption { - type = bool; - default = true; - description = ''map on insert mode''; - }; - - map_complete = mkOption { - type = bool; - default = true; - description = "auto insert `(` after select function or method item"; - }; - - auto_select = mkOption { - type = bool; - default = false; - description = "auto select first item"; - }; - }; }; }; }