mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
fix bug in helpers
This commit is contained in:
parent
da8e5a4736
commit
70791a75fa
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ rec {
|
|||
(n: v: if head (stringToCharacters n) == "@" then
|
||||
toLuaObject v
|
||||
else "[${toLuaObject n}] = " + (toLuaObject v))
|
||||
(filterAttrs (n: v: !isNull v || v == {}) args))) + "}"
|
||||
(filterAttrs (n: v: !isNull v && toLuaObject v != "{}") args))) + "}"
|
||||
else if builtins.isList args then
|
||||
"{" + concatMapStringsSep "," toLuaObject args + "}"
|
||||
else if builtins.isString args then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue