tm-grammars 1.22.15 → 1.22.17
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/coq.json +1 -1
- package/grammars/gdscript.json +37 -23
- package/index.js +10 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ import { grammars } from 'tm-grammars'
|
|
|
53
53
|
| `codeql` | `ql` | [github/vscode-codeql](https://github.com/github/vscode-codeql/blob/a6266bbcc88702619ceb580253a65e8f83333c1b/syntaxes/ql.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/github/vscode-codeql/main/LICENSE.md) | | 31.84 kB |
|
|
54
54
|
| `coffee` | `coffeescript` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ff58f5083f57b50e6a100ab60454dfb72fe21e80/extensions/coffeescript/syntaxes/coffeescript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `javascript` | 26.11 kB |
|
|
55
55
|
| `common-lisp` | `lisp` | [qingpeng9802/vscode-common-lisp](https://github.com/qingpeng9802/vscode-common-lisp/blob/79d04dc9ca80d98e65c4f28b3d67a24a7829b18f/syntaxes/commonlisp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/qingpeng9802/vscode-common-lisp/master/LICENSE) | | 26.12 kB |
|
|
56
|
-
| `coq` | | [coq-community/vscoq](https://github.com/coq-community/vscoq/blob/
|
|
56
|
+
| `coq` | | [coq-community/vscoq](https://github.com/coq-community/vscoq/blob/6173968fd4b7177c60d355b2a0da30ec3a0d4351/client/syntax/coq.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/coq/vscoq/main/LICENSE) | | 4.99 kB |
|
|
57
57
|
| `cpp` | `c++` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/cpp/syntaxes/cpp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `cpp-macro` `regexp` `glsl` `sql` | 410.92 kB |
|
|
58
58
|
| `crystal` | | [crystal-lang-tools/vscode-crystal-lang](https://github.com/crystal-lang-tools/vscode-crystal-lang/blob/c920b0931ec5f05b78447dbff31b172c64f1d734/syntaxes/crystal.json) | [MIT](https://raw.githubusercontent.com/crystal-lang-tools/vscode-crystal-lang/master/LICENSE) | `html` `sql` `css` `c` `javascript` `shellscript` | 27.62 kB |
|
|
59
59
|
| `csharp` | `c#` `cs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/c9948b69ee93cebd049925aa9d6176589863644c/extensions/csharp/syntaxes/csharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 81.48 kB |
|
|
@@ -82,7 +82,7 @@ import { grammars } from 'tm-grammars'
|
|
|
82
82
|
| `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) | | 83.01 kB |
|
|
83
83
|
| `fsharp` | `f#` `fs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/fsharp/syntaxes/fsharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `markdown` | 24.16 kB |
|
|
84
84
|
| `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.86 kB |
|
|
85
|
-
| `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/
|
|
85
|
+
| `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/0a3c319879b731b121cbf454d72a97b4f96c37e3/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 17.84 kB |
|
|
86
86
|
| `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 |
|
|
87
87
|
| `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 |
|
|
88
88
|
| `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 |
|
package/grammars/coq.json
CHANGED
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"match": "\\b(Ltac)\\s+((\\p{L}|[_\\u00A0])(\\p{L}|[0-9_\\u00A0'])*)"
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
|
-
"match": "\\b(Hint|Constructors|Resolve|Rewrite|Ltac|Implicit(\\s+Types)?|Set|Unset|Remove\\s+Printing|Arguments|Tactic\\s+Notation|Notation|Infix|Reserved\\s+Notation|Section|Module\\s+Type|Module|End|Check|Print|Eval|Search|Universe|Coercions?|Generalizable\\s+All|Generalizable\\s+Variable?|Existing\\s+Instance|Existing\\s+Class|Canonical|About|Locate|Collection|Typeclasses\\s+(Opaque|Transparent))\\b",
|
|
101
|
+
"match": "\\b(Hint|Constructors|Resolve|Rewrite|Ltac|Implicit(\\s+Types)?|Set|Unset|Remove\\s+Printing|Arguments|Tactic\\s+Notation|Notation|Infix|Reserved\\s+Notation|Section|Module\\s+Type|Module|End|Check|Print|Eval|Compute|Search|Universe|Coercions?|Generalizable\\s+All|Generalizable\\s+Variable?|Existing\\s+Instance|Existing\\s+Class|Canonical|About|Locate|Collection|Typeclasses\\s+(Opaque|Transparent))\\b",
|
|
102
102
|
"name": "keyword.source.coq"
|
|
103
103
|
},
|
|
104
104
|
{
|
package/grammars/gdscript.json
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"patterns": [
|
|
36
36
|
{
|
|
37
|
-
"include": "#
|
|
37
|
+
"include": "#expression"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"match": "=(?!=)",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"name": "variable.other.gdscript"
|
|
77
77
|
},
|
|
78
78
|
"arithmetic_operator": {
|
|
79
|
-
"match": "
|
|
79
|
+
"match": "->|\\+=|-=|\\*\\*=|\\*=|\\^=|/=|%=|&=|~=|\\|=|\\*\\*|\\*|/|%|\\+|-",
|
|
80
80
|
"name": "keyword.operator.arithmetic.gdscript"
|
|
81
81
|
},
|
|
82
82
|
"assignment_operator": {
|
|
@@ -154,6 +154,9 @@
|
|
|
154
154
|
{
|
|
155
155
|
"include": "#function_call"
|
|
156
156
|
},
|
|
157
|
+
{
|
|
158
|
+
"include": "#region"
|
|
159
|
+
},
|
|
157
160
|
{
|
|
158
161
|
"include": "#comment"
|
|
159
162
|
},
|
|
@@ -186,7 +189,7 @@
|
|
|
186
189
|
"name": "keyword.operator.boolean.gdscript"
|
|
187
190
|
},
|
|
188
191
|
"builtin_classes": {
|
|
189
|
-
"match": "(?<![^.]\\.|:)\\b(Vector2|Vector2i|Vector3|Vector3i|Vector4|Vector4i|Color|Rect2|Rect2i|Array|Basis|Dictionary|Plane|Quat|RID|Rect3|Transform|Transform2D|Transform3D|AABB|String|Color|NodePath|PoolByteArray|PoolIntArray|PoolRealArray|PoolStringArray|PoolVector2Array|PoolVector3Array|PoolColorArray|bool|int|float|Signal|Callable|StringName|Quaternion|Projection|PackedByteArray|PackedInt32Array|PackedInt64Array|PackedFloat32Array|PackedFloat64Array|PackedStringArray|PackedVector2Array|PackedVector2iArray|PackedVector3Array|PackedVector3iArray|PackedVector4Array|PackedColorArray|
|
|
192
|
+
"match": "(?<![^.]\\.|:)\\b(Vector2|Vector2i|Vector3|Vector3i|Vector4|Vector4i|Color|Rect2|Rect2i|Array|Basis|Dictionary|Plane|Quat|RID|Rect3|Transform|Transform2D|Transform3D|AABB|String|Color|NodePath|PoolByteArray|PoolIntArray|PoolRealArray|PoolStringArray|PoolVector2Array|PoolVector3Array|PoolColorArray|bool|int|float|Signal|Callable|StringName|Quaternion|Projection|PackedByteArray|PackedInt32Array|PackedInt64Array|PackedFloat32Array|PackedFloat64Array|PackedStringArray|PackedVector2Array|PackedVector2iArray|PackedVector3Array|PackedVector3iArray|PackedVector4Array|PackedColorArray|JSON|UPNP|OS|IP|JSONRPC|XRVRS)\\b",
|
|
190
193
|
"name": "entity.name.type.class.builtin.gdscript"
|
|
191
194
|
},
|
|
192
195
|
"builtin_get_node_shorthand": {
|
|
@@ -375,10 +378,10 @@
|
|
|
375
378
|
"expression": {
|
|
376
379
|
"patterns": [
|
|
377
380
|
{
|
|
378
|
-
"include": "#
|
|
381
|
+
"include": "#getter_setter_godot4"
|
|
379
382
|
},
|
|
380
383
|
{
|
|
381
|
-
"include": "#
|
|
384
|
+
"include": "#base_expression"
|
|
382
385
|
},
|
|
383
386
|
{
|
|
384
387
|
"include": "#assignment_operator"
|
|
@@ -552,27 +555,34 @@
|
|
|
552
555
|
"captures": {
|
|
553
556
|
"1": {
|
|
554
557
|
"name": "entity.name.function.gdscript"
|
|
558
|
+
},
|
|
559
|
+
"2": {
|
|
560
|
+
"name": "punctuation.separator.annotation.gdscript"
|
|
555
561
|
}
|
|
556
562
|
},
|
|
557
|
-
"match": "
|
|
563
|
+
"match": "(get)\\s*(:)",
|
|
564
|
+
"name": "meta.variable.declaration.getter.gdscript"
|
|
558
565
|
},
|
|
559
566
|
{
|
|
560
|
-
"
|
|
561
|
-
"beginCaptures": {
|
|
567
|
+
"captures": {
|
|
562
568
|
"1": {
|
|
563
569
|
"name": "entity.name.function.gdscript"
|
|
564
|
-
}
|
|
565
|
-
},
|
|
566
|
-
"end": "(:|(?=[#'\"\\n]))",
|
|
567
|
-
"name": "meta.function.gdscript",
|
|
568
|
-
"patterns": [
|
|
569
|
-
{
|
|
570
|
-
"include": "#parameters"
|
|
571
570
|
},
|
|
572
|
-
{
|
|
573
|
-
"
|
|
571
|
+
"2": {
|
|
572
|
+
"name": "punctuation.definition.arguments.begin.gdscript"
|
|
573
|
+
},
|
|
574
|
+
"3": {
|
|
575
|
+
"name": "variable.other.gdscript"
|
|
576
|
+
},
|
|
577
|
+
"4": {
|
|
578
|
+
"name": "punctuation.definition.arguments.end.gdscript"
|
|
579
|
+
},
|
|
580
|
+
"5": {
|
|
581
|
+
"name": "punctuation.separator.annotation.gdscript"
|
|
574
582
|
}
|
|
575
|
-
|
|
583
|
+
},
|
|
584
|
+
"match": "(set)\\s*(\\()\\s*([A-Za-z_]\\w*)\\s*(\\))\\s*(:)",
|
|
585
|
+
"name": "meta.variable.declaration.setter.gdscript"
|
|
576
586
|
}
|
|
577
587
|
]
|
|
578
588
|
},
|
|
@@ -609,7 +619,7 @@
|
|
|
609
619
|
]
|
|
610
620
|
},
|
|
611
621
|
"keywords": {
|
|
612
|
-
"match": "\\b(?:class|class_name|abstract|is|onready|tool|static|export|as|void|enum|assert|breakpoint|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync|trait|namespace)\\b",
|
|
622
|
+
"match": "\\b(?:class|class_name|abstract|is|onready|tool|static|export|as|void|enum|assert|breakpoint|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync|trait|namespace|super)\\b",
|
|
613
623
|
"name": "keyword.language.gdscript"
|
|
614
624
|
},
|
|
615
625
|
"lambda_declaration": {
|
|
@@ -702,7 +712,7 @@
|
|
|
702
712
|
},
|
|
703
713
|
"patterns": [
|
|
704
714
|
{
|
|
705
|
-
"include": "#
|
|
715
|
+
"include": "#expression"
|
|
706
716
|
}
|
|
707
717
|
]
|
|
708
718
|
},
|
|
@@ -745,7 +755,7 @@
|
|
|
745
755
|
]
|
|
746
756
|
},
|
|
747
757
|
{
|
|
748
|
-
"include": "#
|
|
758
|
+
"include": "#expression"
|
|
749
759
|
}
|
|
750
760
|
]
|
|
751
761
|
},
|
|
@@ -860,6 +870,10 @@
|
|
|
860
870
|
"match": "\\b([A-Z]+[a-z_0-9]*([A-Z]?[a-z_0-9]+)*[A-Z]?)\\b",
|
|
861
871
|
"name": "entity.name.type.class.gdscript"
|
|
862
872
|
},
|
|
873
|
+
"region": {
|
|
874
|
+
"match": "#(end)?region.*$\\n?",
|
|
875
|
+
"name": "keyword.language.region.gdscript"
|
|
876
|
+
},
|
|
863
877
|
"round_braces": {
|
|
864
878
|
"begin": "\\(",
|
|
865
879
|
"beginCaptures": {
|
|
@@ -1052,7 +1066,7 @@
|
|
|
1052
1066
|
"name": "punctuation.separator.annotation.gdscript"
|
|
1053
1067
|
},
|
|
1054
1068
|
"2": {
|
|
1055
|
-
"name": "
|
|
1069
|
+
"name": "entity.name.function.gdscript"
|
|
1056
1070
|
},
|
|
1057
1071
|
"3": {
|
|
1058
1072
|
"name": "entity.name.function.gdscript"
|
|
@@ -1078,7 +1092,7 @@
|
|
|
1078
1092
|
{
|
|
1079
1093
|
"captures": {
|
|
1080
1094
|
"1": {
|
|
1081
|
-
"name": "keyword.language.gdscript
|
|
1095
|
+
"name": "keyword.language.gdscript"
|
|
1082
1096
|
},
|
|
1083
1097
|
"2": {
|
|
1084
1098
|
"name": "entity.name.function.gdscript"
|
package/index.js
CHANGED
|
@@ -578,19 +578,19 @@ export const grammars = [
|
|
|
578
578
|
source: 'https://github.com/qingpeng9802/vscode-common-lisp/blob/79d04dc9ca80d98e65c4f28b3d67a24a7829b18f/syntaxes/commonlisp.tmLanguage.json',
|
|
579
579
|
},
|
|
580
580
|
{
|
|
581
|
-
byteSize:
|
|
581
|
+
byteSize: 5114,
|
|
582
582
|
categories: [
|
|
583
583
|
'general',
|
|
584
584
|
],
|
|
585
585
|
displayName: 'Coq',
|
|
586
|
-
hash: '
|
|
587
|
-
lastUpdate: '
|
|
586
|
+
hash: 'MmWE0B5BF9',
|
|
587
|
+
lastUpdate: '2025-02-18T14:07:02Z',
|
|
588
588
|
license: 'MIT',
|
|
589
589
|
licenseUrl: 'https://raw.githubusercontent.com/coq/vscoq/main/LICENSE',
|
|
590
590
|
name: 'coq',
|
|
591
591
|
scopeName: 'source.coq',
|
|
592
|
-
sha: '
|
|
593
|
-
source: 'https://github.com/coq-community/vscoq/blob/
|
|
592
|
+
sha: '6173968fd4b7177c60d355b2a0da30ec3a0d4351',
|
|
593
|
+
source: 'https://github.com/coq-community/vscoq/blob/6173968fd4b7177c60d355b2a0da30ec3a0d4351/client/syntax/coq.tmLanguage.json',
|
|
594
594
|
},
|
|
595
595
|
{
|
|
596
596
|
aliases: [
|
|
@@ -1036,16 +1036,16 @@ export const grammars = [
|
|
|
1036
1036
|
source: 'https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDResource.tmLanguage.json',
|
|
1037
1037
|
},
|
|
1038
1038
|
{
|
|
1039
|
-
byteSize:
|
|
1039
|
+
byteSize: 18267,
|
|
1040
1040
|
displayName: 'GDScript',
|
|
1041
|
-
hash: '
|
|
1042
|
-
lastUpdate: '
|
|
1041
|
+
hash: 'UIMLMR7oJc',
|
|
1042
|
+
lastUpdate: '2025-02-22T18:46:32Z',
|
|
1043
1043
|
license: 'MIT',
|
|
1044
1044
|
licenseUrl: 'https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE',
|
|
1045
1045
|
name: 'gdscript',
|
|
1046
1046
|
scopeName: 'source.gdscript',
|
|
1047
|
-
sha: '
|
|
1048
|
-
source: 'https://github.com/godotengine/godot-vscode-plugin/blob/
|
|
1047
|
+
sha: '0a3c319879b731b121cbf454d72a97b4f96c37e3',
|
|
1048
|
+
source: 'https://github.com/godotengine/godot-vscode-plugin/blob/0a3c319879b731b121cbf454d72a97b4f96c37e3/syntaxes/GDScript.tmLanguage.json',
|
|
1049
1049
|
},
|
|
1050
1050
|
{
|
|
1051
1051
|
byteSize: 6096,
|