helpers/vim-plugin/mkVimPlugin: rename addExtraConfigRenameWarning to deprecateExtraConfig

This commit is contained in:
Gaetan Lepage 2024-02-19 10:19:39 +01:00 committed by Gaétan Lepage
parent 7af65ccae4
commit cef446a4da
15 changed files with 17 additions and 16 deletions

View file

@ -8,6 +8,8 @@ with lib; {
namespace ? "plugins",
maintainers ? [],
imports ? [],
# deprecations
deprecateExtraConfig ? false,
# options
originalName ? name,
defaultPackage ? null,
@ -15,7 +17,6 @@ with lib; {
settingsOptions ? {},
settingsExample ? null,
globalPrefix ? "",
addExtraConfigRenameWarning ? false,
extraOptions ? {},
# config
extraConfig ? cfg: {},
@ -89,7 +90,7 @@ with lib; {
imports =
imports
++ optional (addExtraConfigRenameWarning && createSettingsOption) (
++ optional (deprecateExtraConfig && createSettingsOption) (
mkRenamedOptionModule
["plugins" name "extraConfig"]
["plugins" name "settings"]