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:
|
||||
target.write("? ")
|
||||
state = dFlowExplicitMapKey
|
||||
elif isObject and style == ypsMinimal:
|
||||
target.write(", ? ")
|
||||
else:
|
||||
target.write(", ")
|
||||
state = dFlowImplicitMapKey
|
||||
|
|
Loading…
Reference in New Issue