mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-23 20:42:41 +00: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:
1 parent
1106d967df
commit
5fc8e1cf3e
1 file changed
+5
-1
@@ -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