helpers/vim-plugin/mkVimPlugin: rename 'description' -> 'originalName'

This commit is contained in:
Gaetan Lepage 2024-02-13 23:25:13 +01:00 committed by Gaétan Lepage
parent 6dd2eed613
commit 6a8d6fd005
17 changed files with 18 additions and 22 deletions

View file

@ -9,7 +9,7 @@ with lib; {
maintainers ? [],
imports ? [],
# options
description ? null,
originalName ? name,
package ? null,
options ? {},
settingsOptions ? {},
@ -80,11 +80,7 @@ with lib; {
meta.maintainers = maintainers;
options.${namespace}.${name} =
{
enable = mkEnableOption (
if description == null
then name
else description
);
enable = mkEnableOption originalName;
}
// settingsOption
// packageOption