sloth-flake.nvim/tests/luaRender.lua

28 lines
343 B
Lua

{
a = {
b = {
c = 42
}
},
fn = function ()
print('hello world')
end,
list = {
42,
4.2,
true,
false,
nil
},
math = {
succ = function (n)
return n + 1
end
},
multilineFunc = function ()
print("hello world")
print("goodbye world")
end,
["non-var-name"] = 42
}