mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
lib/types: simplify eitherRecursive
by defining it only once
This commit is contained in:
parent
a5152c2f8e
commit
27a0dd435d
3 changed files with 10 additions and 5 deletions
|
@ -13,8 +13,6 @@ let
|
|||
// {
|
||||
getSubOptions = prefix: (t1.getSubOptions prefix) // (t2.getSubOptions prefix);
|
||||
};
|
||||
|
||||
eitherRecursive = t1: t2: (final.types.either t1 t2) // { getSubOptions = _: { }; };
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue