fix(helpers): use "__unkeyed" prefix instead of "@" in toLuaObject (#632)

This commit is contained in:
municorn 2023-10-09 08:50:21 -05:00 committed by GitHub
parent 258acc56a9
commit 934bf7e2e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 15 deletions

View file

@ -144,7 +144,7 @@ in {
(k: v: {
name =
if k == "name"
then "@"
then "__unkeyed"
else k;
value = v;
})
@ -155,7 +155,7 @@ in {
pluginToLua = plugin:
if isAttrs plugin
then {
"@" = plugin.name;
"__unkeyed" = plugin.name;
inherit (plugin) disable as;