mirror of
https://github.com/status-im/NimYAML.git
synced 2025-01-13 13:05:52 +00:00
Do write '?' in ypsMinimal
This commit is contained in:
parent
f29a55c907
commit
2ed4499674
@ -74,6 +74,8 @@ proc startItem(target: Stream, style: YamlPresentationStyle, indentation: int,
|
|||||||
if style != ypsJson:
|
if style != ypsJson:
|
||||||
target.write("? ")
|
target.write("? ")
|
||||||
state = dFlowExplicitMapKey
|
state = dFlowExplicitMapKey
|
||||||
|
elif isObject and style == ypsMinimal:
|
||||||
|
target.write(", ? ")
|
||||||
else:
|
else:
|
||||||
target.write(", ")
|
target.write(", ")
|
||||||
state = dFlowImplicitMapKey
|
state = dFlowImplicitMapKey
|
||||||
|
Loading…
x
Reference in New Issue
Block a user