mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2026-01-05 14:10:13 +03:00
Merge pull request #134 from Bromeon/bugfix/highlight-camel-case
Fix syntax highlighting for camelCase identifiers
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
{ "include": "#any-method" },
|
||||
{ "include": "#any-property" },
|
||||
{ "include": "#extends" },
|
||||
{ "include": "#parscal_class" }
|
||||
{ "include": "#pascal_case_class" }
|
||||
],
|
||||
"repository": {
|
||||
"comment": {
|
||||
@@ -328,11 +328,11 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"parscal_class": {
|
||||
"pascal_case_class": {
|
||||
"captures": {
|
||||
"1": { "name": "entity.name.type.class.gdscript" }
|
||||
},
|
||||
"match": "([A-Z][a-zA-Z_0-9]*)"
|
||||
"match": "\\b([A-Z][a-zA-Z_0-9]*)\\b"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user