Validations
Describe the bug
Without any changes in the grammar, it seems upgrading from 1.23 to ^1.24 cause unexpected breaking changes.
In my case it breaks the cairo highlighting.
It can be easily reproduced with tm-grammars previews: https://deploy-preview-100--textmate-grammars-themes.netlify.app/?theme=github-dark&grammar=cairo (from shikijs/textmate-grammars-themes#100) (shiki 1.20.0, but it works in 1.23.1 as well)
Compared to the current version:

Reproduction
textmate grammars preview
Contributes
Validations
Describe the bug
Without any changes in the grammar, it seems upgrading from
1.23to^1.24cause unexpected breaking changes.In my case it breaks the
cairohighlighting.It can be easily reproduced with tm-grammars previews: https://deploy-preview-100--textmate-grammars-themes.netlify.app/?theme=github-dark&grammar=cairo (from shikijs/textmate-grammars-themes#100) (shiki
1.20.0, but it works in1.23.1as well)Compared to the current version:
Reproduction
textmate grammars preview
Contributes