mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-09 22:55:58 +01:00
Compare commits
2 commits
434810e0a5
...
414e7bc12f
Author | SHA1 | Date | |
---|---|---|---|
|
414e7bc12f | ||
|
8aa3a23e97 |
1 changed files with 2 additions and 4 deletions
|
@ -65,6 +65,7 @@ in rec {
|
|||
then
|
||||
if isLuaInline args
|
||||
then args.expr
|
||||
# if nobody is using this we should get rid of this
|
||||
else if hasAttr "__empty" args
|
||||
then "{ }"
|
||||
else
|
||||
|
@ -76,10 +77,7 @@ in rec {
|
|||
then toLuaObject v
|
||||
else "[${toLuaObject n}] = " + (toLuaObject v))
|
||||
(filterAttrs
|
||||
(
|
||||
_: v:
|
||||
(v != null) && (toLuaObject v != "{}")
|
||||
)
|
||||
(_: v: v != null)
|
||||
args)))
|
||||
+ "}"
|
||||
else if isList args
|
||||
|
|
Loading…
Reference in a new issue