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