diff --git a/plugins/telescope/default.nix b/plugins/telescope/default.nix index 16236489..760b3b05 100644 --- a/plugins/telescope/default.nix +++ b/plugins/telescope/default.nix @@ -20,7 +20,19 @@ helpers.neovim-plugin.mkNeovimPlugin config { deprecateExtraOptions = true; optionsRenamedToSettings = [ "defaults" ]; - imports = [ ./extensions ]; + imports = [ + ./extensions + + # TODO introduced 2024-05-24: remove 2024-08-24 + (mkRemovedOptionModule + [ + "plugins" + "telescope" + "keymapsSilent" + ] + "This option no longer has any effect now that the `plugin.telescope.keymaps` implementation uses ``." + ) + ]; extraOptions = { keymaps = mkOption { @@ -46,12 +58,6 @@ helpers.neovim-plugin.mkNeovimPlugin config { }; }; - keymapsSilent = mkOption { - type = types.bool; - description = "Whether telescope keymaps should be silent"; - default = false; - }; - highlightTheme = mkOption { type = types.nullOr types.str; description = "The colorscheme to use for syntax highlighting"; @@ -91,10 +97,7 @@ helpers.neovim-plugin.mkNeovimPlugin config { mode = mapping.mode or "n"; inherit key; action = "Telescope ${actionStr}"; - - options = { - silent = cfg.keymapsSilent; - } // (mapping.options or { }); + options = mapping.options or { }; } ) cfg.keymaps; diff --git a/tests/test-sources/plugins/telescope/default.nix b/tests/test-sources/plugins/telescope/default.nix index 4176122a..8354ea17 100644 --- a/tests/test-sources/plugins/telescope/default.nix +++ b/tests/test-sources/plugins/telescope/default.nix @@ -14,7 +14,6 @@ options.desc = "Telescope Git Files"; }; }; - keymapsSilent = true; highlightTheme = "gruvbox"; }; };