mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-14 13:01:12 +01:00
treewide: remove old deprecation warnings
This commit is contained in:
parent
629f9d75f8
commit
8441008175
72 changed files with 4 additions and 1506 deletions
|
|
@ -14,14 +14,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
# TODO: option deprecations added 2025-03-20. Remove after 25.05
|
||||
# TODO: curlPackage and ueberzugPackage deprecations added 2025-04-06. Remove after 25.05
|
||||
inherit (import ./deprecations.nix lib)
|
||||
deprecateExtraOptions
|
||||
optionsRenamedToSettings
|
||||
imports
|
||||
;
|
||||
|
||||
settingsOptions = {
|
||||
backend =
|
||||
defaultNullOpts.mkEnumFirstDefault
|
||||
|
|
|
|||
|
|
@ -1,30 +0,0 @@
|
|||
lib: {
|
||||
deprecateExtraOptions = true;
|
||||
optionsRenamedToSettings = [
|
||||
"backend"
|
||||
"maxWidth"
|
||||
"maxHeight"
|
||||
"maxWidthWindowPercentage"
|
||||
"maxHeightWindowPercentage"
|
||||
"windowOverlapClearEnabled"
|
||||
"windowOverlapClearFtIgnore"
|
||||
"editorOnlyRenderWhenFocused"
|
||||
"tmuxShowOnlyInActiveWindow"
|
||||
"hijackFilePatterns"
|
||||
];
|
||||
imports = [
|
||||
(lib.mkRemovedOptionModule [ "plugins" "image" "integrations" ] ''
|
||||
Nixvim(plugins.image): The option `integrations` has been renamed to `settings.integrations`.
|
||||
Warning: sub-options now have the same name as upstream (`clear_in_insert_mode`...).
|
||||
'')
|
||||
|
||||
(lib.nixvim.mkRemovedPackageOptionModule {
|
||||
plugin = "image";
|
||||
packageName = "curl";
|
||||
})
|
||||
(lib.nixvim.mkRemovedPackageOptionModule {
|
||||
plugin = "image";
|
||||
packageName = "ueberzug";
|
||||
})
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue