Hello
My custom syntax:
contexts:
main:
- match: ^
push:
- meta_content_scope: meta.block.depth0.txt
- match: \}
pop: true
- match: \{
push:
- meta_content_scope: meta.block.depth1.txt
- match: \}
pop: true
- match: \{
push:
- meta_content_scope: meta.block.depth2.txt
- match: \}
pop: true
- match: \{
push:
- meta_content_scope: meta.block.depth3.txt
- match: \}
pop: true
My txt file:
event = {
only_playable = yes
min_age = 16
trigger = {
culture_is = viking
NOT = { year = 1010 }
}
}
How can I exclude meta_content_scope from each other ? For example, only_playable = yes has 2 scopes: meta.block.depth0.txt and meta.block.depth1.txt. It should be meta.block.depth1.txt only.
What i would like:
Thanks for any help