mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-26 10:48:35 +02:00
fix(helpers): use "__unkeyed" prefix instead of "@" in toLuaObject
(#632)
This commit is contained in:
parent
258acc56a9
commit
934bf7e2e3
6 changed files with 15 additions and 15 deletions
|
@ -21,7 +21,7 @@ with lib; rec {
|
|||
+ (concatStringsSep ","
|
||||
(mapAttrsToList
|
||||
(n: v:
|
||||
if head (stringToCharacters n) == "@"
|
||||
if (builtins.match "__unkeyed.*" n) != null
|
||||
then toLuaObject v
|
||||
else if n == "__emptyString"
|
||||
then "[''] = " + (toLuaObject v)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue