mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
plugins/deprecations: move codeium enable option renames to top level deprecations
Causes our checks to fail to have the rename alias done in the module themselves..
This commit is contained in:
parent
7f4efe62e0
commit
cf141c07a8
3 changed files with 27 additions and 2 deletions
|
@ -45,7 +45,6 @@
|
|||
lib.nixvim.deprecation.mkSettingsRenamedOptionModules [ "plugins" "codeium-nvim" ]
|
||||
[ "plugins" "windsurf-nvim" ]
|
||||
[
|
||||
"enable"
|
||||
"package"
|
||||
"settings"
|
||||
{
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
lib.nixvim.deprecation.mkSettingsRenamedOptionModules [ "plugins" "codeium-vim" ]
|
||||
[ "plugins" "windsurf-vim" ]
|
||||
[
|
||||
"enable"
|
||||
"package"
|
||||
"settings"
|
||||
"keymaps"
|
||||
|
|
|
@ -56,6 +56,33 @@ in
|
|||
++ (lib.mapAttrsToList (
|
||||
old: new: lib.mkRenamedOptionModule [ "plugins" old ] [ "plugins" new ]
|
||||
) renamed)
|
||||
# TODO: introduced 2025-04-19
|
||||
++ [
|
||||
(lib.mkRenamedOptionModule
|
||||
[
|
||||
"plugins"
|
||||
"codeium-nvim"
|
||||
"enable"
|
||||
]
|
||||
[
|
||||
"plugins"
|
||||
"windsurf-nvim"
|
||||
"enable"
|
||||
]
|
||||
)
|
||||
(lib.mkRenamedOptionModule
|
||||
[
|
||||
"plugins"
|
||||
"codeium-vim"
|
||||
"enable"
|
||||
]
|
||||
[
|
||||
"plugins"
|
||||
"windsurf-vim"
|
||||
"enable"
|
||||
]
|
||||
)
|
||||
]
|
||||
++ builtins.map (
|
||||
name:
|
||||
lib.mkRemovedOptionModule [ "plugins" name "iconsPackage" ] ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue