plugins/flash: init + tests (#625)

This commit is contained in:
traxys 2023-10-15 17:31:03 +02:00 committed by GitHub
parent bab56daddb
commit 0a31f39447
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 654 additions and 0 deletions

View file

@ -51,6 +51,10 @@ with lib; rec {
then "nil"
else "";
listToUnkeyedAttrs = list:
builtins.listToAttrs
(lib.lists.imap0 (idx: lib.nameValuePair "__unkeyed-${toString idx}") list);
emptyTable = {"__empty" = null;};
highlightType = with lib.types;