Closed rwols closed 7 years ago
They are valid YAML, but I assumed (or hoped, rather) that people wouldn't use block scalars for key like this. Will have to think about whether adding support for it will be worth it or not.
The exact result in your screenshots are a bit unexpected though. I intended for the context to reset upon seeing a -
sequence, but I might have missed that. Will definitely take a look at that.
Yeah, it's the first time I'm using it. I thought if I just use a multi line string at two places then my whole file is nicely indented with 80 chars.
FYI, you can just continue plain scalars on the next line, if it is indented with more spaces. This should be highlighted fine. Newline and surrounding spaces will be collapsed at parse time.
This is what I did and it indeed works fine. Thanks!
Pictures say it all I guess:
Sublime seems to parse this OK.