pedro-w / vscode-tmlanguage

Syntax highlighting for TextMate/SublimeText language definitions
MIT License
18 stars 4 forks source link

Escaped parentheses throw out regex in yaml. #11

Closed SSlinky closed 1 year ago

SSlinky commented 1 year ago

image

SSlinky commented 1 year ago

You can work around this by using a comment to close the group. image

pedro-w commented 1 year ago

Hi Sam, thanks for this. Please can you explain a bit more about what you're doing and attach/link to the file that's causing problems? Cheers!

SSlinky commented 1 year ago

The TM grammar for yaml is matching on escaped parentheses as if it's the beginning of a new group. Multiple examples in this file.

pedro-w commented 1 year ago

I have pushed an update which I believe will address this. Are you able to test?

SSlinky commented 1 year ago

Looks to be resolved to me, thanks!

pedro-w commented 1 year ago

Thanks for reporting!

Fixed by 0aa687c4e1a60ce5e186461c598912531a84ae14

pedro-w commented 1 year ago

@SSlinky did this fix your other issues #13 and #12 ?

SSlinky commented 1 year ago

No, neither of those issues appear to have been addressed.