Folding discrepancy with lang-yaml BlockSequence

This is similar to this post here Folding issues with lang-yaml and/or lezer/yaml BlockMapping but for lists/arrays

It looks like when having a BlockSequence, that there is no way to fold only the first Item in the list, because the BlockSequence applies to the entire list. Example here (folding “item 1” folds the entire list)

I think most people would expect folding list items to work consistently regardless of the index of the item.

Monaco example

Notes

Altering the fold to replace BlockSequence with Item seems to create a more consistent folding experience similar to Monaco.

Yeah, that makes sense. It’s a bit of a shame to no longer be able to fold sequences of single-line items, but I guess that’s acceptable.