mirror of https://github.com/status-im/NimYAML.git
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…
Reference in New Issue