tm-grammars 1.13.13 → 1.14.0

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/NOTICE CHANGED
@@ -930,7 +930,7 @@ Public License instead of this License. But first, please read
930
930
  <http://www.gnu.org/philosophy/why-not-lgpl.html>.
931
931
 
932
932
  =========================================================================================================
933
- Files: angular-expression.json, angular-inline-style.json, angular-inline-template.json, angular-template.json, angular-template-blocks.json
933
+ Files: angular-expression.json, angular-inline-style.json, angular-inline-template.json, angular-let-declaration.json, angular-template.json, angular-template-blocks.json
934
934
  License: https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE
935
935
  SPDX: MIT
936
936
  ---------------------------------------------------------------------------------------------------------
package/README.md CHANGED
@@ -23,8 +23,8 @@ import { grammars } from 'tm-grammars'
23
23
  | `abap` | | [pvl/abap.tmbundle](https://github.com/pvl/abap.tmbundle/blob/a9b2efff4f4afa469d984353384f09e4ebd24055/Syntaxes/ABAP.tmLanguage) | | | 16.82 kB |
24
24
  | `actionscript-3` | | [BowlerHatLLC/vscode-as3mxml](https://github.com/BowlerHatLLC/vscode-as3mxml/blob/77075cd9a439ecd87815cecb1f1c2bb1ff44a2e5/distribution/src/assembly/syntaxes/AS3.tmLanguage) | [Apache-2.0](https://raw.githubusercontent.com/BowlerHatLLC/vscode-as3mxml/main/LICENSE) | | 13.81 kB |
25
25
  | `ada` | | [AdaCore/ada_language_server](https://github.com/AdaCore/ada_language_server/blob/75c0d0c22b3f3dbf559946331c7aca6fc5b84065/integration/vscode/ada/advanced/ada.tmLanguage.json) | [GPL-3.0](https://raw.githubusercontent.com/AdaCore/ada_language_server/master/LICENSE) | | 45.72 kB |
26
- | `angular-html` | | [onivim/vscode-exthost](https://github.com/onivim/vscode-exthost/blob/cfc2a2212de9ea10943af58ebd1817a5ad196463/extensions/html/syntaxes/html-derivative.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/onivim/vscode-exthost/master/LICENSE.txt) | `html` `angular-expression` `angular-template` `angular-template-blocks` | 772.00 B |
27
- | `angular-ts` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/35d97bc7e439fce0f50f42074041ab2d8571b20a/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `angular-expression` `angular-inline-style` `angular-inline-template` `angular-template` `angular-template-blocks` | 177.11 kB |
26
+ | `angular-html` | | [onivim/vscode-exthost](https://github.com/onivim/vscode-exthost/blob/cfc2a2212de9ea10943af58ebd1817a5ad196463/extensions/html/syntaxes/html-derivative.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/onivim/vscode-exthost/master/LICENSE.txt) | `html` `angular-expression` `angular-let-declaration` `angular-template` `angular-template-blocks` | 772.00 B |
27
+ | `angular-ts` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/35d97bc7e439fce0f50f42074041ab2d8571b20a/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `angular-expression` `angular-inline-style` `angular-inline-template` `angular-let-declaration` `angular-template` `angular-template-blocks` | 177.11 kB |
28
28
  | `apache` | | [colinta/ApacheConf.tmLanguage](https://github.com/colinta/ApacheConf.tmLanguage/blob/1fdb47b6fe2cea20cfedbc522bff3ff1ed656c07/ApacheConf.tmLanguage) | [NOASSERTION](https://raw.githubusercontent.com/colinta/ApacheConf.tmLanguage/main/LICENSE) | | 12.57 kB |
29
29
  | `apex` | | [forcedotcom/apex-tmLanguage](https://github.com/forcedotcom/apex-tmLanguage/blob/1d3c7097c8e50b4f4163c9e27b450fcd45f40a5e/grammars/apex.tmLanguage) | [NOASSERTION](https://raw.githubusercontent.com/forcedotcom/apex-tmLanguage/main/LICENSE) | | 44.68 kB |
30
30
  | `apl` | | [kimmolinna/vscode-apl-language](https://github.com/kimmolinna/vscode-apl-language/blob/13541242d9ffae225e89ebba23f9abaa4c60697e/syntaxes/apl.tmLanguage.json) | | `html` `xml` `css` `javascript` `json` | 25.86 kB |
@@ -239,11 +239,12 @@ Injections are grammars that are embedded in other grammars. They are used to ag
239
239
  | `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 |
240
240
  | `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 |
241
241
  | `angular-inline-template` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/a18c61752e65ddcbeb31217f47f29fa38fe26c42/syntaxes/inline-template.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-html` `angular-template` | 970.00 B |
242
+ | `angular-let-declaration` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/4ab348120e4fb499bb12560dc039e0c7b5b418b8/syntaxes/let-declaration.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-expression` | 879.00 B |
242
243
  | `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 |
243
244
  | `angular-template-blocks` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/b424eaa01e3cb5600bfe65ce7232a72c7d452d19/syntaxes/template-blocks.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-expression` `angular-template` | 1.18 kB |
244
245
  | `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 |
245
246
  | `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 |
246
- | `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 |
247
+ | `markdown-vue` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/e23ff4d13001ffe78d893bb707d839ead29e0e40/extensions/vscode/syntaxes/markdown-vue.json) | [MIT](https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE) | | 684.00 B |
247
248
  | `vue-directives` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/d5ab9edcf4a18d9c25c143a37cc3ec95229fc6b1/extensions/vscode/syntaxes/vue-directives.json) | [MIT](https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE) | | 366.00 B |
248
249
  | `vue-interpolations` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/ce5623e52a31c99797052727a817d422266f210d/extensions/vscode/syntaxes/vue-interpolations.json) | [MIT](https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE) | | 349.00 B |
249
250
  | `vue-sfc-style-variable-injection` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/ce5623e52a31c99797052727a817d422266f210d/extensions/vscode/syntaxes/vue-sfc-style-variable-injection.json) | [MIT](https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE) | `javascript` | 791.00 B |
@@ -0,0 +1,58 @@
1
+ {
2
+ "injectTo": [
3
+ "text.html.derivative",
4
+ "text.html.derivative.ng",
5
+ "source.ts.ng"
6
+ ],
7
+ "injectionSelector": "L:text.html -comment -expression.ng -meta.tag -source.css -source.js",
8
+ "name": "angular-let-declaration",
9
+ "patterns": [
10
+ {
11
+ "include": "#letDeclaration"
12
+ }
13
+ ],
14
+ "repository": {
15
+ "letDeclaration": {
16
+ "begin": "(@let)\\s+([_$[:alpha:]][_$[:alnum:]]*)\\s*(=)?",
17
+ "beginCaptures": {
18
+ "1": {
19
+ "name": "storage.type.ng"
20
+ },
21
+ "2": {
22
+ "name": "meta.definition.variable.ng"
23
+ },
24
+ "3": {
25
+ "name": "keyword.operator.assignment.ng"
26
+ }
27
+ },
28
+ "contentName": "meta.definition.variable.ng",
29
+ "end": "(?<=;)",
30
+ "patterns": [
31
+ {
32
+ "include": "#letInitializer"
33
+ }
34
+ ]
35
+ },
36
+ "letInitializer": {
37
+ "begin": "\\s*",
38
+ "beginCaptures": {
39
+ "0": {
40
+ "name": "keyword.operator.assignment.ng"
41
+ }
42
+ },
43
+ "contentName": "meta.definition.variable.initializer.ng",
44
+ "end": ";",
45
+ "endCaptures": {
46
+ "0": {
47
+ "name": "punctuation.terminator.statement.ng"
48
+ }
49
+ },
50
+ "patterns": [
51
+ {
52
+ "include": "expression.ng"
53
+ }
54
+ ]
55
+ }
56
+ },
57
+ "scopeName": "template.let.ng"
58
+ }
@@ -22,7 +22,9 @@
22
22
  "name": "fenced_code.block.language.markdown"
23
23
  },
24
24
  "5": {
25
- "name": "fenced_code.block.language.attributes.markdown"
25
+ "name": "fenced_code.block.language.attributes.markdown",
26
+ "patterns": [
27
+ ]
26
28
  }
27
29
  },
28
30
  "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
package/index.js CHANGED
@@ -47,6 +47,7 @@ export const grammars = [
47
47
  embedded: [
48
48
  'html',
49
49
  'angular-expression',
50
+ 'angular-let-declaration',
50
51
  'angular-template',
51
52
  'angular-template-blocks',
52
53
  ],
@@ -68,6 +69,7 @@ export const grammars = [
68
69
  'angular-expression',
69
70
  'angular-inline-style',
70
71
  'angular-inline-template',
72
+ 'angular-let-declaration',
71
73
  'angular-template',
72
74
  'angular-template-blocks',
73
75
  ],
@@ -3439,6 +3441,28 @@ export const injections = [
3439
3441
  sha: 'a18c61752e65ddcbeb31217f47f29fa38fe26c42',
3440
3442
  source: 'https://github.com/angular/vscode-ng-language-service/blob/a18c61752e65ddcbeb31217f47f29fa38fe26c42/syntaxes/inline-template.json',
3441
3443
  },
3444
+ {
3445
+ byteSize: 879,
3446
+ embedded: [
3447
+ 'angular-expression',
3448
+ ],
3449
+ embeddedIn: [
3450
+ 'angular-ts',
3451
+ 'angular-html',
3452
+ ],
3453
+ injectTo: [
3454
+ 'text.html.derivative',
3455
+ 'text.html.derivative.ng',
3456
+ 'source.ts.ng',
3457
+ ],
3458
+ lastUpdate: '2024-06-25T18:10:01Z',
3459
+ license: 'MIT',
3460
+ licenseUrl: 'https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE',
3461
+ name: 'angular-let-declaration',
3462
+ scopeName: 'template.let.ng',
3463
+ sha: '4ab348120e4fb499bb12560dc039e0c7b5b418b8',
3464
+ source: 'https://github.com/angular/vscode-ng-language-service/blob/4ab348120e4fb499bb12560dc039e0c7b5b418b8/syntaxes/let-declaration.json',
3465
+ },
3442
3466
  {
3443
3467
  byteSize: 471,
3444
3468
  embedded: [
@@ -3521,20 +3545,20 @@ export const injections = [
3521
3545
  source: 'https://github.com/samuelcolvin/jinjahtml-vscode/blob/64ad369cd167bba2e614944db6d925b7dc6483b4/syntaxes/jinja-html.tmLanguage.json',
3522
3546
  },
3523
3547
  {
3524
- byteSize: 670,
3548
+ byteSize: 684,
3525
3549
  embeddedIn: [
3526
3550
  'vue',
3527
3551
  ],
3528
3552
  injectTo: [
3529
3553
  'text.html.markdown',
3530
3554
  ],
3531
- lastUpdate: '2023-10-23T14:34:03Z',
3555
+ lastUpdate: '2024-07-20T08:14:06Z',
3532
3556
  license: 'MIT',
3533
3557
  licenseUrl: 'https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE',
3534
3558
  name: 'markdown-vue',
3535
3559
  scopeName: 'markdown.vue.codeblock',
3536
- sha: 'ce5623e52a31c99797052727a817d422266f210d',
3537
- source: 'https://github.com/vuejs/language-tools/blob/ce5623e52a31c99797052727a817d422266f210d/extensions/vscode/syntaxes/markdown-vue.json',
3560
+ sha: 'e23ff4d13001ffe78d893bb707d839ead29e0e40',
3561
+ source: 'https://github.com/vuejs/language-tools/blob/e23ff4d13001ffe78d893bb707d839ead29e0e40/extensions/vscode/syntaxes/markdown-vue.json',
3538
3562
  },
3539
3563
  {
3540
3564
  byteSize: 366,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.13.13",
4
+ "version": "1.14.0",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",