mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 09:48:42 +02:00
helpers/vim-plugin/mkVimPlugin: rename 'description' -> 'originalName'
This commit is contained in:
parent
6dd2eed613
commit
6a8d6fd005
17 changed files with 18 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue