lib/helpers: build recursively

This commit is contained in:
Matt Sturgeon 2024-07-28 22:30:11 +01:00
parent a655679ecc
commit 0e98d9cf1e
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
8 changed files with 68 additions and 96 deletions

View file

@ -1,6 +1,6 @@
{
lib,
nixvimTypes,
helpers,
_nixvimTests,
}:
with lib;
@ -115,7 +115,7 @@ rec {
null
else if isString r then
{ __raw = r; }
else if nixvimTypes.isRawType r then
else if helpers.nixvimTypes.isRawType r then
r
else
throw "mkRaw: invalid input: ${generators.toPretty { multiline = false; } r}";