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

@ -338,35 +338,35 @@ in {
{
columns = with cfg.columns;
(optional type.enable {
"@" = "type";
"__unkeyed" = "type";
inherit (type) highlight icons;
})
++ (optional icon.enable {
"@" = "icon";
"__unkeyed" = "icon";
inherit (icon) highlight defaultFile directory;
})
++ (optional size.enable {
"@" = "size";
"__unkeyed" = "size";
inherit (size) highlight;
})
++ (optional permissions.enable {
"@" = "permissions";
"__unkeyed" = "permissions";
inherit (permissions) highlight;
})
++ (optional ctime.enable {
"@" = "ctime";
"__unkeyed" = "ctime";
inherit (ctime) highlight format;
})
++ (optional mtime.enable {
"@" = "mtime";
"__unkeyed" = "mtime";
inherit (mtime) highlight format;
})
++ (optional atime.enable {
"@" = "atime";
"__unkeyed" = "atime";
inherit (atime) highlight format;
})
++ (optional birthtime.enable {
"@" = "birthtime";
"__unkeyed" = "birthtime";
inherit (birthtime) highlight format;
});
buf_opions = cfg.bufOptions;