tm-grammars 1.12.0 → 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 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/fc8da969b1c83e13ef5124b1ec90ba5211bc1e5f/gclient/syntaxes/feature.tmLanguage) | [MIT](https://raw.githubusercontent.com/alexkrechik/VSCucumberAutoComplete/master/LICENSE) | | 12.13 kB |
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/755b168864d3ae92bab27cbfd80788ec021a36e7/syntaxes/gleam.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/gleam-lang/vscode-gleam/main/LICENSE.txt) | | 2.39 kB |
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/f6a1959a2ae122ee9f5aefc950904bb072f09688/syntaxes/zig.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/ziglang/vscode-zig/master/LICENSE) | | 4.69 kB |
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
 
@@ -236,7 +236,7 @@ Injections are grammars that are embedded in other grammars. They are used to ag
236
236
  | `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 |
237
237
  | `angular-inline-template` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/c3f3172a70b1a2bfdca3bdee85df9271cb0895cf/syntaxes/inline-template.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-html` `angular-template` | 956.00 B |
238
238
  | `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 |
239
- | `angular-template-blocks` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/abfdaa7e3c1eefe0054659deb217a967d5b551b8/syntaxes/template-blocks.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-expression` `angular-template` | 1.12 kB |
239
+ | `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 |
240
240
  | `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) | `glsl` `sql` | 230.05 kB |
241
241
  | `jinja-html` | | [samuelcolvin/jinjahtml-vscode](https://github.com/samuelcolvin/jinjahtml-vscode/blob/64ad369cd167bba2e614944db6d925b7dc6483b4/syntaxes/jinja-html.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/samuelcolvin/jinjahtml-vscode/main/LICENSE) | `html` | 470.00 B |
242
242
  | `markdown-vue` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/ce5623e52a31c99797052727a817d422266f210d/extensions/vscode/syntaxes/markdown-vue.json) | [MIT](https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE) | | 670.00 B |
@@ -13,7 +13,7 @@
13
13
  ],
14
14
  "repository": {
15
15
  "block": {
16
- "begin": "(@)((?:\\w+\\s*)+)(?=\\(|\\{)",
16
+ "begin": "(@)(if|else if|else|defer|placeholder|loading|error|switch|case|default|for|empty)(?:\\s*)",
17
17
  "beginCaptures": {
18
18
  "1": {
19
19
  "patterns": [
@@ -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": "\\b0b[0-1]+\\b",
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": "\\b0x[[:xdigit:]]+\\b",
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": "\\b0o[0-7]+\\b",
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: '2022-07-03T18:01:28Z',
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: 'fc8da969b1c83e13ef5124b1ec90ba5211bc1e5f',
936
- source: 'https://github.com/alexkrechik/VSCucumberAutoComplete/blob/fc8da969b1c83e13ef5124b1ec90ba5211bc1e5f/gclient/syntaxes/feature.tmLanguage',
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: 2446,
973
+ byteSize: 2567,
974
974
  displayName: 'Gleam',
975
- lastUpdate: '2024-03-15T09:36:06Z',
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: '755b168864d3ae92bab27cbfd80788ec021a36e7',
981
- source: 'https://github.com/gleam-lang/vscode-gleam/blob/755b168864d3ae92bab27cbfd80788ec021a36e7/syntaxes/gleam.tmLanguage.json',
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: 4804,
3313
+ byteSize: 5184,
3314
3314
  categories: [
3315
3315
  'general',
3316
3316
  ],
3317
3317
  displayName: 'Zig',
3318
- lastUpdate: '2024-04-01T00:42:12Z',
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: 'f6a1959a2ae122ee9f5aefc950904bb072f09688',
3324
- source: 'https://github.com/ziglang/vscode-zig/blob/f6a1959a2ae122ee9f5aefc950904bb072f09688/syntaxes/zig.tmLanguage.json',
3323
+ sha: '8ba9f01e5d7fdce08704ea8b5cbe9efed4afb4ef',
3324
+ source: 'https://github.com/ziglang/vscode-zig/blob/8ba9f01e5d7fdce08704ea8b5cbe9efed4afb4ef/syntaxes/zig.tmLanguage.json',
3325
3325
  },
3326
3326
  ]
3327
3327
 
@@ -3402,7 +3402,7 @@ export const injections = [
3402
3402
  source: 'https://github.com/angular/vscode-ng-language-service/blob/28739e438742bee69faceda5fd15445682451397/syntaxes/template.json',
3403
3403
  },
3404
3404
  {
3405
- byteSize: 1151,
3405
+ byteSize: 1212,
3406
3406
  embedded: [
3407
3407
  'angular-expression',
3408
3408
  'angular-template',
@@ -3416,13 +3416,13 @@ export const injections = [
3416
3416
  'text.html.derivative.ng',
3417
3417
  'source.ts.ng',
3418
3418
  ],
3419
- lastUpdate: '2023-12-05T18:19:48Z',
3419
+ lastUpdate: '2024-05-17T17:00:54Z',
3420
3420
  license: 'MIT',
3421
3421
  licenseUrl: 'https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE',
3422
3422
  name: 'angular-template-blocks',
3423
3423
  scopeName: 'template.blocks.ng',
3424
- sha: 'abfdaa7e3c1eefe0054659deb217a967d5b551b8',
3425
- source: 'https://github.com/angular/vscode-ng-language-service/blob/abfdaa7e3c1eefe0054659deb217a967d5b551b8/syntaxes/template-blocks.json',
3424
+ sha: 'dceedb686d45f19a65a50398be3dbce2526e7d11',
3425
+ source: 'https://github.com/angular/vscode-ng-language-service/blob/dceedb686d45f19a65a50398be3dbce2526e7d11/syntaxes/template-blocks.json',
3426
3426
  },
3427
3427
  {
3428
3428
  byteSize: 235569,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.12.0",
4
+ "version": "1.12.2",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",