mirror of
https://github.com/neovim/neovim.git
synced 2025-11-10 04:25:22 +00:00
test/helpers: Support booleans
This commit is contained in:
@@ -469,6 +469,8 @@ format_luav = function(v, indent, opts)
|
|||||||
end
|
end
|
||||||
elseif type(v) == 'nil' then
|
elseif type(v) == 'nil' then
|
||||||
ret = 'nil'
|
ret = 'nil'
|
||||||
|
elseif type(v) == 'boolean' then
|
||||||
|
ret = (v and 'true' or 'false')
|
||||||
else
|
else
|
||||||
print(type(v))
|
print(type(v))
|
||||||
-- Not implemented yet
|
-- Not implemented yet
|
||||||
|
|||||||
Reference in New Issue
Block a user