From 4634c3781bfb1be4b8d30056bd663c52fb03bdf5 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Fri, 7 Jun 2024 07:50:08 +0100 Subject: [PATCH] plugins/tmux-navigator: remove old deprecations --- plugins/utils/tmux-navigator.nix | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/plugins/utils/tmux-navigator.nix b/plugins/utils/tmux-navigator.nix index 8f10f362..fd9a4e70 100644 --- a/plugins/utils/tmux-navigator.nix +++ b/plugins/utils/tmux-navigator.nix @@ -6,30 +6,6 @@ ... }: with lib; -let - # TODO: Introduced 2024-03-19, remove on 2024-05-19 - deprecations = - let - pluginPath = [ - "plugins" - "tmux-navigator" - ]; - option = s: pluginPath ++ [ s ]; - setting = - s: - pluginPath - ++ [ - "settings" - s - ]; - settingStr = s: concatStringsSep "." (setting s); - in - [ - (mkRenamedOptionModule (option "tmuxNavigatorSaveOnSwitch") (setting "save_on_switch")) - (mkRemovedOptionModule (option "tmuxNavigatorDisableWhenZoomed") "Use `${settingStr "disable_when_zoomed"}` option.") - (mkRemovedOptionModule (option "tmuxNavigatorNoWrap") "Use `${settingStr "no_wrap"}` option.") - ]; -in helpers.vim-plugin.mkVimPlugin config { name = "tmux-navigator"; originalName = "vim-tmux-navigator"; @@ -90,8 +66,6 @@ helpers.vim-plugin.mkVimPlugin config { [upstream docs]: https://github.com/christoomey/vim-tmux-navigator#installation ''; - imports = deprecations; - settingsOptions = { save_on_switch = helpers.mkNullOrOption