tm-grammars 1.12.1 → 1.12.2
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 +3 -3
- package/grammars/gleam.json +10 -3
- package/grammars/zig.json +31 -0
- package/index.js +11 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -80,10 +80,10 @@ import { grammars } from 'tm-grammars'
|
|
|
80
80
|
| `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/0c9c2554fb6eb25d8e30fa32cc31d1eba0941bba/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 16.09 kB |
|
|
81
81
|
| `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 |
|
|
82
82
|
| `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 |
|
|
83
|
-
| `gherkin` | | [alexkrechik/VSCucumberAutoComplete](https://github.com/alexkrechik/VSCucumberAutoComplete/blob/
|
|
83
|
+
| `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 |
|
|
84
84
|
| `git-commit` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/f8c3f89468fea14103d8790d59ea8594d6e644eb/extensions/git-base/syntaxes/git-commit.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `diff` | 1.36 kB |
|
|
85
85
|
| `git-rebase` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e95c74c4c7af876e79ec58df262464467c06df28/extensions/git-base/syntaxes/git-rebase.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `shellscript` | 818.00 B |
|
|
86
|
-
| `gleam` | | [gleam-lang/vscode-gleam](https://github.com/gleam-lang/vscode-gleam/blob/
|
|
86
|
+
| `gleam` | | [gleam-lang/vscode-gleam](https://github.com/gleam-lang/vscode-gleam/blob/5898983fc1c012b4ee3dd0edf0abd69e531831d4/syntaxes/gleam.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/gleam-lang/vscode-gleam/main/LICENSE.txt) | | 2.51 kB |
|
|
87
87
|
| `glimmer-js` | `gjs` | [lifeart/vsc-ember-syntax](https://github.com/lifeart/vsc-ember-syntax/blob/76fce7b360ce09a78789e7d5217b8955d1a5d95f/syntaxes/source.gjs.json) | [MIT](https://raw.githubusercontent.com/lifeart/vsc-ember-syntax/master/LICENSE) | `javascript` `typescript` `css` `html` | 19.08 kB |
|
|
88
88
|
| `glimmer-ts` | `gts` | [lifeart/vsc-ember-syntax](https://github.com/lifeart/vsc-ember-syntax/blob/76fce7b360ce09a78789e7d5217b8955d1a5d95f/syntaxes/source.gts.json) | [MIT](https://raw.githubusercontent.com/lifeart/vsc-ember-syntax/master/LICENSE) | `typescript` `css` `javascript` `html` | 19.08 kB |
|
|
89
89
|
| `glsl` | | [polym0rph/GLSL.tmbundle](https://github.com/polym0rph/GLSL.tmbundle/blob/6998d3bbd204e26746a5ca580cda4c650b9057b1/Syntaxes/GLSL.tmLanguage) | | `c` | 3.69 kB |
|
|
@@ -224,7 +224,7 @@ import { grammars } from 'tm-grammars'
|
|
|
224
224
|
| `xsl` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/xml/syntaxes/xsl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `xml` | 1.20 kB |
|
|
225
225
|
| `yaml` | `yml` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/772aaf777a2e6b50c5c2e53da1a0955d2cb73a4d/extensions/yaml/syntaxes/yaml.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 10.58 kB |
|
|
226
226
|
| `zenscript` | | [CraftTweaker/ZenScript-tmLanguage](https://github.com/CraftTweaker/ZenScript-tmLanguage/blob/5a7bcb775a6fb37470e56f904e70d8b8b9e6b047/zenscript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/CraftTweaker/ZenScript-tmLanguage/master/LICENSE) | | 4.08 kB |
|
|
227
|
-
| `zig` | | [ziglang/vscode-zig](https://github.com/ziglang/vscode-zig/blob/
|
|
227
|
+
| `zig` | | [ziglang/vscode-zig](https://github.com/ziglang/vscode-zig/blob/8ba9f01e5d7fdce08704ea8b5cbe9efed4afb4ef/syntaxes/zig.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/ziglang/vscode-zig/master/LICENSE) | | 5.06 kB |
|
|
228
228
|
|
|
229
229
|
## Injections
|
|
230
230
|
|
package/grammars/gleam.json
CHANGED
|
@@ -16,11 +16,14 @@
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"include": "#entity"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"include": "#discards"
|
|
19
22
|
}
|
|
20
23
|
],
|
|
21
24
|
"repository": {
|
|
22
25
|
"binary_number": {
|
|
23
|
-
"match": "\\
|
|
26
|
+
"match": "\\b0[bB](_?[01])+\\b",
|
|
24
27
|
"name": "constant.numeric.binary.gleam",
|
|
25
28
|
"patterns": [
|
|
26
29
|
]
|
|
@@ -68,6 +71,10 @@
|
|
|
68
71
|
"patterns": [
|
|
69
72
|
]
|
|
70
73
|
},
|
|
74
|
+
"discards": {
|
|
75
|
+
"match": "\\b_(?:[[:word:]]+)?\\b",
|
|
76
|
+
"name": "comment.unused.gleam"
|
|
77
|
+
},
|
|
71
78
|
"entity": {
|
|
72
79
|
"patterns": [
|
|
73
80
|
{
|
|
@@ -95,7 +102,7 @@
|
|
|
95
102
|
]
|
|
96
103
|
},
|
|
97
104
|
"hexadecimal_number": {
|
|
98
|
-
"match": "\\
|
|
105
|
+
"match": "\\b0[xX](_?[[:xdigit:]])+\\b",
|
|
99
106
|
"name": "constant.numeric.hexadecimal.gleam",
|
|
100
107
|
"patterns": [
|
|
101
108
|
]
|
|
@@ -153,7 +160,7 @@
|
|
|
153
160
|
]
|
|
154
161
|
},
|
|
155
162
|
"octal_number": {
|
|
156
|
-
"match": "\\
|
|
163
|
+
"match": "\\b0[oO](_?[0-7])+\\b",
|
|
157
164
|
"name": "constant.numeric.octal.gleam",
|
|
158
165
|
"patterns": [
|
|
159
166
|
]
|
package/grammars/zig.json
CHANGED
|
@@ -18,6 +18,9 @@
|
|
|
18
18
|
{
|
|
19
19
|
"include": "#operators"
|
|
20
20
|
},
|
|
21
|
+
{
|
|
22
|
+
"include": "#punctuation"
|
|
23
|
+
},
|
|
21
24
|
{
|
|
22
25
|
"include": "#numbers"
|
|
23
26
|
},
|
|
@@ -178,6 +181,34 @@
|
|
|
178
181
|
{
|
|
179
182
|
"match": "(==|\\+\\+|\\*\\*|->)",
|
|
180
183
|
"name": "keyword.operator.special.zig"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"match": "=",
|
|
187
|
+
"name": "keyword.operator.assignment.zig"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"match": "\\?",
|
|
191
|
+
"name": "keyword.operator.question.zig"
|
|
192
|
+
}
|
|
193
|
+
]
|
|
194
|
+
},
|
|
195
|
+
"punctuation": {
|
|
196
|
+
"patterns": [
|
|
197
|
+
{
|
|
198
|
+
"match": "\\.",
|
|
199
|
+
"name": "punctuation.accessor.zig"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"match": ",",
|
|
203
|
+
"name": "punctuation.comma.zig"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"match": ":",
|
|
207
|
+
"name": "punctuation.separator.key-value.zig"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"match": ";",
|
|
211
|
+
"name": "punctuation.terminator.statement.zig"
|
|
181
212
|
}
|
|
182
213
|
]
|
|
183
214
|
},
|
package/index.js
CHANGED
|
@@ -927,13 +927,13 @@ export const grammars = [
|
|
|
927
927
|
{
|
|
928
928
|
byteSize: 12425,
|
|
929
929
|
displayName: 'Gherkin',
|
|
930
|
-
lastUpdate: '
|
|
930
|
+
lastUpdate: '2024-05-18T13:15:07Z',
|
|
931
931
|
license: 'MIT',
|
|
932
932
|
licenseUrl: 'https://raw.githubusercontent.com/alexkrechik/VSCucumberAutoComplete/master/LICENSE',
|
|
933
933
|
name: 'gherkin',
|
|
934
934
|
scopeName: 'text.gherkin.feature',
|
|
935
|
-
sha: '
|
|
936
|
-
source: 'https://github.com/alexkrechik/VSCucumberAutoComplete/blob/
|
|
935
|
+
sha: 'fbb554addf81e8961b58b1577924af10fecf9694',
|
|
936
|
+
source: 'https://github.com/alexkrechik/VSCucumberAutoComplete/blob/fbb554addf81e8961b58b1577924af10fecf9694/syntaxes/feature.tmLanguage.json',
|
|
937
937
|
},
|
|
938
938
|
{
|
|
939
939
|
byteSize: 1397,
|
|
@@ -970,15 +970,15 @@ export const grammars = [
|
|
|
970
970
|
source: 'https://github.com/microsoft/vscode/blob/e95c74c4c7af876e79ec58df262464467c06df28/extensions/git-base/syntaxes/git-rebase.tmLanguage.json',
|
|
971
971
|
},
|
|
972
972
|
{
|
|
973
|
-
byteSize:
|
|
973
|
+
byteSize: 2567,
|
|
974
974
|
displayName: 'Gleam',
|
|
975
|
-
lastUpdate: '2024-
|
|
975
|
+
lastUpdate: '2024-05-17T16:00:53Z',
|
|
976
976
|
license: 'Apache-2.0',
|
|
977
977
|
licenseUrl: 'https://raw.githubusercontent.com/gleam-lang/vscode-gleam/main/LICENSE.txt',
|
|
978
978
|
name: 'gleam',
|
|
979
979
|
scopeName: 'source.gleam',
|
|
980
|
-
sha: '
|
|
981
|
-
source: 'https://github.com/gleam-lang/vscode-gleam/blob/
|
|
980
|
+
sha: '5898983fc1c012b4ee3dd0edf0abd69e531831d4',
|
|
981
|
+
source: 'https://github.com/gleam-lang/vscode-gleam/blob/5898983fc1c012b4ee3dd0edf0abd69e531831d4/syntaxes/gleam.tmLanguage.json',
|
|
982
982
|
},
|
|
983
983
|
{
|
|
984
984
|
aliases: [
|
|
@@ -3310,18 +3310,18 @@ export const grammars = [
|
|
|
3310
3310
|
source: 'https://github.com/CraftTweaker/ZenScript-tmLanguage/blob/5a7bcb775a6fb37470e56f904e70d8b8b9e6b047/zenscript.tmLanguage.json',
|
|
3311
3311
|
},
|
|
3312
3312
|
{
|
|
3313
|
-
byteSize:
|
|
3313
|
+
byteSize: 5184,
|
|
3314
3314
|
categories: [
|
|
3315
3315
|
'general',
|
|
3316
3316
|
],
|
|
3317
3317
|
displayName: 'Zig',
|
|
3318
|
-
lastUpdate: '2024-
|
|
3318
|
+
lastUpdate: '2024-05-19T23:52:17Z',
|
|
3319
3319
|
license: 'MIT',
|
|
3320
3320
|
licenseUrl: 'https://raw.githubusercontent.com/ziglang/vscode-zig/master/LICENSE',
|
|
3321
3321
|
name: 'zig',
|
|
3322
3322
|
scopeName: 'source.zig',
|
|
3323
|
-
sha: '
|
|
3324
|
-
source: 'https://github.com/ziglang/vscode-zig/blob/
|
|
3323
|
+
sha: '8ba9f01e5d7fdce08704ea8b5cbe9efed4afb4ef',
|
|
3324
|
+
source: 'https://github.com/ziglang/vscode-zig/blob/8ba9f01e5d7fdce08704ea8b5cbe9efed4afb4ef/syntaxes/zig.tmLanguage.json',
|
|
3325
3325
|
},
|
|
3326
3326
|
]
|
|
3327
3327
|
|