Replies: 1 comment 1 reply
-
vscode-yaml uses prettier for formatting and it is pretty limited in its YAML features. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm trying to figure out how to get this extension to respect the non-compact format of YAML sequence of mappings. This is valid YAML under official 1.2 spec (see Example 2.4).
The problem is the formatter always converts it to the compact version.
compact:
non-compact:
This even shown in the official extension gif:
How can I do this?
Beta Was this translation helpful? Give feedback.
All reactions