mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-02 21:34:33 +02:00
plugins/tmux-navigator: remove old deprecations
This commit is contained in:
parent
302262304e
commit
4634c3781b
1 changed files with 0 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue