Both States and Default blocks are detected by searching for the States and Default words in the text.
My plan was to make it that it searched for the two words AND the open curly bracket {, but it seems that VSCode's highlighter does not allow for multiline regexes.
If somebody has a clue how to fix this, I would be really happy about it.
Both
States
andDefault
blocks are detected by searching for theStates
andDefault
words in the text. My plan was to make it that it searched for the two words AND the open curly bracket{
, but it seems that VSCode's highlighter does not allow for multiline regexes. If somebody has a clue how to fix this, I would be really happy about it.