tm-grammars 1.13.2 → 1.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/grammars/angular-inline-template.json +9 -0
- package/grammars/gdscript.json +11 -18
- package/index.js +9 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -78,7 +78,7 @@ import { grammars } from 'tm-grammars'
|
|
|
78
78
|
| `fortran-free-form` | `f90` `f95` `f03` `f08` `f18` | [fortran-lang/vscode-fortran-support](https://github.com/fortran-lang/vscode-fortran-support/blob/f7fb41579770a0d8c75b9f295d167b31147b4f33/syntaxes/fortran_free-form.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fortran-lang/vscode-fortran-support/main/LICENSE) | | 92.92 kB |
|
|
79
79
|
| `fsharp` | `f#` `fs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/extensions/fsharp/syntaxes/fsharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `markdown` | 24.25 kB |
|
|
80
80
|
| `gdresource` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDResource.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | `gdshader` `gdscript` | 4.90 kB |
|
|
81
|
-
| `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/
|
|
81
|
+
| `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/9750f8dfc6e4eeba96f7df62432751930af95337/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 17.83 kB |
|
|
82
82
|
| `gdshader` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDShader.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 5.95 kB |
|
|
83
83
|
| `genie` | | [vala-lang/vala-vscode](https://github.com/vala-lang/vala-vscode/blob/8f825e95648326df2572d0522632251cdff4a43b/syntaxes/genie.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/vala-lang/vala-vscode/master/LICENSE) | | 3.12 kB |
|
|
84
84
|
| `gherkin` | | [alexkrechik/VSCucumberAutoComplete](https://github.com/alexkrechik/VSCucumberAutoComplete/blob/fbb554addf81e8961b58b1577924af10fecf9694/syntaxes/feature.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/alexkrechik/VSCucumberAutoComplete/master/LICENSE) | | 12.13 kB |
|
|
@@ -237,7 +237,7 @@ Injections are grammars that are embedded in other grammars. They are used to ag
|
|
|
237
237
|
| ---- | ----- | ------ | ------- | ------- | --------- |
|
|
238
238
|
| `angular-expression` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/d7dab52644375e64af3deaeac045cc75f5954414/syntaxes/expression.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | | 12.69 kB |
|
|
239
239
|
| `angular-inline-style` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/f0422f5f571f79a904510944452f06fb36beff22/syntaxes/inline-styles.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `scss` | 1.17 kB |
|
|
240
|
-
| `angular-inline-template` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/
|
|
240
|
+
| `angular-inline-template` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/888875fef753416c464d1433f05caf8d53c9dd10/syntaxes/inline-template.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-html` `angular-template` `angular-template-blocks` | 1.02 kB |
|
|
241
241
|
| `angular-template` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/28739e438742bee69faceda5fd15445682451397/syntaxes/template.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-expression` | 471.00 B |
|
|
242
242
|
| `angular-template-blocks` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/dceedb686d45f19a65a50398be3dbce2526e7d11/syntaxes/template-blocks.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-expression` `angular-template` | 1.18 kB |
|
|
243
243
|
| `cpp-macro` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/cpp/syntaxes/cpp.embedded.macro.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `regexp` `glsl` `sql` | 230.05 kB |
|
package/grammars/gdscript.json
CHANGED
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"any_method": {
|
|
57
57
|
"match": "\\b([A-Za-z_]\\w*)\\b(?=\\s*(?:[(]))",
|
|
58
|
-
"name": "
|
|
58
|
+
"name": "entity.name.function.other.gdscript"
|
|
59
59
|
},
|
|
60
60
|
"any_property": {
|
|
61
61
|
"captures": {
|
|
@@ -479,12 +479,7 @@
|
|
|
479
479
|
]
|
|
480
480
|
},
|
|
481
481
|
"function_call": {
|
|
482
|
-
"begin": "(
|
|
483
|
-
"beginCaptures": {
|
|
484
|
-
"2": {
|
|
485
|
-
"name": "punctuation.definition.arguments.begin.gdscript"
|
|
486
|
-
}
|
|
487
|
-
},
|
|
482
|
+
"begin": "(?=\\b[a-zA-Z_]\\w*\\b\\()",
|
|
488
483
|
"comment": "Regular function call of the type \"name(args)\"",
|
|
489
484
|
"end": "(\\))",
|
|
490
485
|
"endCaptures": {
|
|
@@ -543,10 +538,14 @@
|
|
|
543
538
|
{
|
|
544
539
|
"include": "#builtin_classes"
|
|
545
540
|
},
|
|
541
|
+
{
|
|
542
|
+
"match": "\\b(preload)\\b",
|
|
543
|
+
"name": "keyword.language.gdscript"
|
|
544
|
+
},
|
|
546
545
|
{
|
|
547
546
|
"comment": "Some color schemas support meta.function-call.generic scope",
|
|
548
|
-
"match": "
|
|
549
|
-
"name": "
|
|
547
|
+
"match": "\\b([a-zA-Z_]\\w*)\\b",
|
|
548
|
+
"name": "entity.name.function.gdscript"
|
|
550
549
|
}
|
|
551
550
|
]
|
|
552
551
|
},
|
|
@@ -613,7 +612,7 @@
|
|
|
613
612
|
]
|
|
614
613
|
},
|
|
615
614
|
"keywords": {
|
|
616
|
-
"match": "\\b(?:class|class_name|is|onready|tool|static|export|as|void|enum|
|
|
615
|
+
"match": "\\b(?:class|class_name|is|onready|tool|static|export|as|void|enum|assert|breakpoint|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync|trait|namespace)\\b",
|
|
617
616
|
"name": "keyword.language.gdscript"
|
|
618
617
|
},
|
|
619
618
|
"lambda_declaration": {
|
|
@@ -1038,23 +1037,17 @@
|
|
|
1038
1037
|
]
|
|
1039
1038
|
},
|
|
1040
1039
|
"variable_declaration": {
|
|
1041
|
-
"begin": "\\b(?:(var)|(const))\\
|
|
1040
|
+
"begin": "\\b(?:(var)|(const))\\b",
|
|
1042
1041
|
"beginCaptures": {
|
|
1043
1042
|
"1": {
|
|
1044
1043
|
"name": "keyword.language.gdscript storage.type.var.gdscript"
|
|
1045
1044
|
},
|
|
1046
1045
|
"2": {
|
|
1047
1046
|
"name": "keyword.language.gdscript storage.type.const.gdscript"
|
|
1048
|
-
},
|
|
1049
|
-
"3": {
|
|
1050
|
-
"name": "constant.language.gdscript"
|
|
1051
|
-
},
|
|
1052
|
-
"4": {
|
|
1053
|
-
"name": "variable.other.gdscript"
|
|
1054
1047
|
}
|
|
1055
1048
|
},
|
|
1056
1049
|
"end": "$|;",
|
|
1057
|
-
"name": "meta.variable.gdscript",
|
|
1050
|
+
"name": "meta.variable.declaration.gdscript",
|
|
1058
1051
|
"patterns": [
|
|
1059
1052
|
{
|
|
1060
1053
|
"captures": {
|
package/index.js
CHANGED
|
@@ -909,15 +909,15 @@ export const grammars = [
|
|
|
909
909
|
source: 'https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDResource.tmLanguage.json',
|
|
910
910
|
},
|
|
911
911
|
{
|
|
912
|
-
byteSize:
|
|
912
|
+
byteSize: 18259,
|
|
913
913
|
displayName: 'GDScript',
|
|
914
|
-
lastUpdate: '2024-
|
|
914
|
+
lastUpdate: '2024-07-02T18:04:22Z',
|
|
915
915
|
license: 'MIT',
|
|
916
916
|
licenseUrl: 'https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE',
|
|
917
917
|
name: 'gdscript',
|
|
918
918
|
scopeName: 'source.gdscript',
|
|
919
|
-
sha: '
|
|
920
|
-
source: 'https://github.com/godotengine/godot-vscode-plugin/blob/
|
|
919
|
+
sha: '9750f8dfc6e4eeba96f7df62432751930af95337',
|
|
920
|
+
source: 'https://github.com/godotengine/godot-vscode-plugin/blob/9750f8dfc6e4eeba96f7df62432751930af95337/syntaxes/GDScript.tmLanguage.json',
|
|
921
921
|
},
|
|
922
922
|
{
|
|
923
923
|
byteSize: 6096,
|
|
@@ -3405,10 +3405,11 @@ export const injections = [
|
|
|
3405
3405
|
source: 'https://github.com/angular/vscode-ng-language-service/blob/f0422f5f571f79a904510944452f06fb36beff22/syntaxes/inline-styles.json',
|
|
3406
3406
|
},
|
|
3407
3407
|
{
|
|
3408
|
-
byteSize:
|
|
3408
|
+
byteSize: 1049,
|
|
3409
3409
|
embedded: [
|
|
3410
3410
|
'angular-html',
|
|
3411
3411
|
'angular-template',
|
|
3412
|
+
'angular-template-blocks',
|
|
3412
3413
|
],
|
|
3413
3414
|
embeddedIn: [
|
|
3414
3415
|
'angular-ts',
|
|
@@ -3416,13 +3417,13 @@ export const injections = [
|
|
|
3416
3417
|
injectTo: [
|
|
3417
3418
|
'source.ts.ng',
|
|
3418
3419
|
],
|
|
3419
|
-
lastUpdate: '
|
|
3420
|
+
lastUpdate: '2024-07-02T16:10:13Z',
|
|
3420
3421
|
license: 'MIT',
|
|
3421
3422
|
licenseUrl: 'https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE',
|
|
3422
3423
|
name: 'angular-inline-template',
|
|
3423
3424
|
scopeName: 'inline-template.ng',
|
|
3424
|
-
sha: '
|
|
3425
|
-
source: 'https://github.com/angular/vscode-ng-language-service/blob/
|
|
3425
|
+
sha: '888875fef753416c464d1433f05caf8d53c9dd10',
|
|
3426
|
+
source: 'https://github.com/angular/vscode-ng-language-service/blob/888875fef753416c464d1433f05caf8d53c9dd10/syntaxes/inline-template.json',
|
|
3426
3427
|
},
|
|
3427
3428
|
{
|
|
3428
3429
|
byteSize: 471,
|