This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Does not respect JSON style YAML. #5
Labels
Comments
Closed
I think the YAML specification do explicitly display this. It's called Flow Collection Styles. Note that quotation mark is optional when key or value don't have whitespace: outerkey: {key: value, "key with whitespace": "value with whitespace"} which is equivalent to outerkey:
key: value
"key with whitespace": value with whitespace |
@FranklinYu Yep, I started working on it but never got the chance to finish it. |
Hi any news from this? |
Here's an entire file that is wrongly colored due to this bug: https://github.com/Nixinova/Minecraft-Versions/blob/HEAD/src/versions.yml |
71 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Even though the spec doesn't explicitly display JSON style YAML it allows for it because of the massive spec and the way it allows certain kinds of sub-keys, however Atom's YAML parser does not recognize or respect keys and values in the following format (the way that it does with JSON itself):
The text was updated successfully, but these errors were encountered: