mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 15:10:12 +01:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user