mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-09 22:55:58 +01:00
lib: avoid filtering null values to be used as nil
This commit is contained in:
parent
fe9bcf224b
commit
64e79a9f4c
1 changed files with 1 additions and 2 deletions
|
@ -77,8 +77,7 @@ in rec {
|
||||||
else "[${toLuaObject n}] = " + (toLuaObject v))
|
else "[${toLuaObject n}] = " + (toLuaObject v))
|
||||||
(filterAttrs
|
(filterAttrs
|
||||||
(
|
(
|
||||||
_: v:
|
_: v: (toLuaObject v != "{}")
|
||||||
(v != null) && (toLuaObject v != "{}")
|
|
||||||
)
|
)
|
||||||
args)))
|
args)))
|
||||||
+ "}"
|
+ "}"
|
||||||
|
|
Loading…
Reference in a new issue