Textmate grammar: avoid variable-width lookbehind. (#7373)

This is not supported by the textmate parser in github's linguist.

Assisted-by: Gemini via Antigravity
This commit is contained in:
Richard Smith
2026-06-17 05:43:44 +00:00
committed by GitHub
parent 1106d967df
commit 5fc8e1cf3e
@@ -400,7 +400,11 @@
"patterns": [
{
"name": "support.class.carbon",
"match": "(?<=\\b(package|Core)\\s)\\w+"
"match": "(?<=\\bpackage\\s)\\w+"
},
{
"name": "support.class.carbon",
"match": "(?<=\\bCore\\s)\\w+"
},
{
"name": "support.type.property-name.carbon",