mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-29 06:18:45 +02:00
plugins/image: migrate to mkNeovimPlugin
This commit is contained in:
parent
c5967bf6a5
commit
279d2570b5
3 changed files with 157 additions and 157 deletions
21
plugins/by-name/image/deprecations.nix
Normal file
21
plugins/by-name/image/deprecations.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
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`...).
|
||||
'')
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue