meta: extend meta.nixvimInfo support treewide

Rather than supplying a `kind` and `name` pair, we now supply a raw
path.

This path could point to any nixvim option.
This commit is contained in:
Matt Sturgeon 2024-06-07 21:30:00 +01:00
parent b2a477260d
commit f34fda8d99
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
4 changed files with 28 additions and 23 deletions

View file

@ -68,8 +68,11 @@ with lib;
meta = {
inherit maintainers;
nixvimInfo = {
inherit description name url;
kind = namespace;
inherit description url;
path = [
namespace
name
];
};
};
options.${namespace}.${name} = {