tm-grammars 1.12.1 → 1.12.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 +4 -4
- package/grammars/gleam.json +10 -3
- package/grammars/vue.json +3 -3
- package/grammars/zig.json +31 -0
- package/index.js +15 -15
- 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 |
|
|
@@ -212,7 +212,7 @@ import { grammars } from 'tm-grammars'
|
|
|
212
212
|
| `verilog` | | [mshr-h/vscode-verilog-hdl-support](https://github.com/mshr-h/vscode-verilog-hdl-support/blob/5963f70745bac638a96431176d39c688b35e8b59/syntaxes/verilog.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE) | | 5.55 kB |
|
|
213
213
|
| `vhdl` | | [jonasjj/awesome-vhdl](https://github.com/jonasjj/awesome-vhdl/blob/0d0a052da44f64382314ba90a321a83022e5c11a/syntaxes/vhdl.tmLanguage) | [MIT](https://raw.githubusercontent.com/jonasjj/awesome-vhdl/master/LICENSE.txt) | | 23.66 kB |
|
|
214
214
|
| `viml` | `vim` `vimscript` | [dunstontc/viml](https://github.com/dunstontc/viml/blob/8762570fc7d6f1009a3c93efd2a337330d88b88e/syntaxes/viml.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/dunstontc/viml/master/LICENSE) | | 20.19 kB |
|
|
215
|
-
| `vue` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/
|
|
215
|
+
| `vue` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/ff2788d4084895a2c4cfa526668dc642e86de6fd/extensions/vscode/syntaxes/vue.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE) | `html` `markdown` `pug` `stylus` `sass` `css` `scss` `less` `javascript` `typescript` `jsx` `tsx` `coffee` `json` `jsonc` `json5` `yaml` `toml` `graphql` `html-derivative` `markdown-vue` `vue-directives` `vue-interpolations` `vue-sfc-style-variable-injection` | 16.81 kB |
|
|
216
216
|
| `vue-html` | | [vuejs/vetur](https://github.com/vuejs/vetur/blob/53ee52746b1f26f44391c3764bc7bd06d4ddaa46/syntaxes/vue-html.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/vuejs/vetur/master/LICENSE) | `vue` `javascript` | 8.06 kB |
|
|
217
217
|
| `vyper` | `vy` | [tintinweb/vscode-vyper](https://github.com/tintinweb/vscode-vyper/blob/e8876a573f1e6b5b11d6176538a5c342d39af0f8/syntaxes/vyper.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/tintinweb/vscode-vyper/master/LICENSE) | | 96.99 kB |
|
|
218
218
|
| `wasm` | | [wasmerio/vscode-wasm](https://github.com/wasmerio/vscode-wasm/blob/9d0ace1ff113f4a3e95797675039cd94ec257078/syntaxes/wat.json) | [MIT](https://raw.githubusercontent.com/wasmerio/vscode-wasm/master/LICENSE) | | 15.03 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/vue.json
CHANGED
|
@@ -1026,7 +1026,7 @@
|
|
|
1026
1026
|
"name": "source.ts.embedded.html.vue",
|
|
1027
1027
|
"patterns": [
|
|
1028
1028
|
{
|
|
1029
|
-
"include": "source.ts"
|
|
1029
|
+
"include": "source.ts#expression"
|
|
1030
1030
|
}
|
|
1031
1031
|
]
|
|
1032
1032
|
}
|
|
@@ -1047,7 +1047,7 @@
|
|
|
1047
1047
|
"name": "source.ts.embedded.html.vue",
|
|
1048
1048
|
"patterns": [
|
|
1049
1049
|
{
|
|
1050
|
-
"include": "source.ts"
|
|
1050
|
+
"include": "source.ts#expression"
|
|
1051
1051
|
}
|
|
1052
1052
|
]
|
|
1053
1053
|
}
|
|
@@ -1256,7 +1256,7 @@
|
|
|
1256
1256
|
"name": "source.ts.embedded.html.vue",
|
|
1257
1257
|
"patterns": [
|
|
1258
1258
|
{
|
|
1259
|
-
"include": "source.ts"
|
|
1259
|
+
"include": "source.ts#expression"
|
|
1260
1260
|
}
|
|
1261
1261
|
]
|
|
1262
1262
|
}
|
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: [
|
|
@@ -3050,7 +3050,7 @@ export const grammars = [
|
|
|
3050
3050
|
source: 'https://github.com/dunstontc/viml/blob/8762570fc7d6f1009a3c93efd2a337330d88b88e/syntaxes/viml.tmLanguage.json',
|
|
3051
3051
|
},
|
|
3052
3052
|
{
|
|
3053
|
-
byteSize:
|
|
3053
|
+
byteSize: 17211,
|
|
3054
3054
|
categories: [
|
|
3055
3055
|
'web',
|
|
3056
3056
|
],
|
|
@@ -3081,13 +3081,13 @@ export const grammars = [
|
|
|
3081
3081
|
'vue-interpolations',
|
|
3082
3082
|
'vue-sfc-style-variable-injection',
|
|
3083
3083
|
],
|
|
3084
|
-
lastUpdate: '2024-05-
|
|
3084
|
+
lastUpdate: '2024-05-23T21:19:27Z',
|
|
3085
3085
|
license: 'MIT',
|
|
3086
3086
|
licenseUrl: 'https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE',
|
|
3087
3087
|
name: 'vue',
|
|
3088
3088
|
scopeName: 'source.vue',
|
|
3089
|
-
sha: '
|
|
3090
|
-
source: 'https://github.com/vuejs/language-tools/blob/
|
|
3089
|
+
sha: 'ff2788d4084895a2c4cfa526668dc642e86de6fd',
|
|
3090
|
+
source: 'https://github.com/vuejs/language-tools/blob/ff2788d4084895a2c4cfa526668dc642e86de6fd/extensions/vscode/syntaxes/vue.tmLanguage.json',
|
|
3091
3091
|
},
|
|
3092
3092
|
{
|
|
3093
3093
|
byteSize: 8255,
|
|
@@ -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
|
|