Hello, I want create own syntax for spin text, but i have problem with next level brackets.
Here is example:
{111111 {222222|22222|{3333333|33333}|22222}11111 111111 111111 {22222|22222}11111}|{111111{2222|222}1111}
I need first level of my spin with red color next level blue and next level green.
I know how to create 1 level with:
- match: '{' scope: first push: first first: - meta_scope: first - match: "}" pop: true
Can you help me how to put scope into scope? Sorry for my bad english I hope you understeand. I need bracket “{” in brackets “{ }” with another color and bracket in bracket in bracket with another color too.