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" ]
|
lib.nixvim.deprecation.mkSettingsRenamedOptionModules [ "plugins" "codeium-nvim" ]
|
||||||
[ "plugins" "windsurf-nvim" ]
|
[ "plugins" "windsurf-nvim" ]
|
||||||
[
|
[
|
||||||
"enable"
|
|
||||||
"package"
|
"package"
|
||||||
"settings"
|
"settings"
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
lib.nixvim.deprecation.mkSettingsRenamedOptionModules [ "plugins" "codeium-vim" ]
|
lib.nixvim.deprecation.mkSettingsRenamedOptionModules [ "plugins" "codeium-vim" ]
|
||||||
[ "plugins" "windsurf-vim" ]
|
[ "plugins" "windsurf-vim" ]
|
||||||
[
|
[
|
||||||
"enable"
|
|
||||||
"package"
|
"package"
|
||||||
"settings"
|
"settings"
|
||||||
"keymaps"
|
"keymaps"
|
||||||
|
|
|
@ -56,6 +56,33 @@ in
|
||||||
++ (lib.mapAttrsToList (
|
++ (lib.mapAttrsToList (
|
||||||
old: new: lib.mkRenamedOptionModule [ "plugins" old ] [ "plugins" new ]
|
old: new: lib.mkRenamedOptionModule [ "plugins" old ] [ "plugins" new ]
|
||||||
) renamed)
|
) 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 (
|
++ builtins.map (
|
||||||
name:
|
name:
|
||||||
lib.mkRemovedOptionModule [ "plugins" name "iconsPackage" ] ''
|
lib.mkRemovedOptionModule [ "plugins" name "iconsPackage" ] ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue