mirror of
https://github.com/nix-community/nixvim.git
synced 2026-09-27 17:46:03 -04:00
fix bug in helpers
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user