tm-grammars 1.13.11 → 1.13.13
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/angular-template-blocks.json +1 -1
- package/grammars/move.json +44 -0
- package/index.js +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -137,7 +137,7 @@ import { grammars } from 'tm-grammars'
|
|
|
137
137
|
| `mdx` | | [wooorm/markdown-tm-language](https://github.com/wooorm/markdown-tm-language/blob/3f11836d11ca5ed41431ecd53dca7710c2c823ce/source.mdx.tmLanguage) | [MIT](https://raw.githubusercontent.com/wooorm/markdown-tm-language/main/license) | `tsx` `toml` `yaml` `c` `clojure` `coffee` `cpp` `csharp` `css` `diff` `docker` `elixir` `elm` `erlang` `go` `graphql` `haskell` `html` `ini` `java` `javascript` `json` `julia` `kotlin` `less` `lua` `make` `markdown` `objective-c` `perl` `python` `r` `ruby` `rust` `scala` `scss` `shellscript` `shellsession` `sql` `xml` `swift` `typescript` | 129.74 kB |
|
|
138
138
|
| `mermaid` | | [bpruitt-goddard/vscode-mermaid-syntax-highlight](https://github.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/blob/8b62f487cb7a89afcd152febfbf47f5d4787657f/syntaxes/mermaid.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/master/LICENSE) | | 27.99 kB |
|
|
139
139
|
| `mojo` | | [modularml/mojo-syntax](https://github.com/modularml/mojo-syntax/blob/46eccdaeda2b1587e9b82808cdb35670f359d16d/syntaxes/mojo.syntax.json) | [MIT](https://raw.githubusercontent.com/modularml/mojo-syntax/main/LICENSE) | | 72.91 kB |
|
|
140
|
-
| `move` | | [damirka/move-syntax](https://github.com/damirka/move-syntax/blob/
|
|
140
|
+
| `move` | | [damirka/move-syntax](https://github.com/damirka/move-syntax/blob/1b57eb84b85cb21835f83a50f988091afa926fdf/syntaxes/move.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/damirka/move-syntax/main/LICENSE) | | 18.98 kB |
|
|
141
141
|
| `narrat` | `nar` | [liana-p/narrat-syntax-highlighting-vscode](https://github.com/liana-p/narrat-syntax-highlighting-vscode/blob/00d4b410338fc50ca0ce77a1f7e873c1fb66d376/syntaxes/narrat.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/liana-p/narrat-syntax-highlighting-vscode/main/LICENSE) | | 3.41 kB |
|
|
142
142
|
| `nextflow` | `nf` | [nextflow-io/vscode-language-nextflow](https://github.com/nextflow-io/vscode-language-nextflow/blob/7eeb9be8d01556b7c51c59307275c2f720f2ddf4/syntaxes/nextflow.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/master/LICENSE.md) | | 4.40 kB |
|
|
143
143
|
| `nginx` | | [hangxingliu/vscode-nginx-conf-hint](https://github.com/hangxingliu/vscode-nginx-conf-hint/blob/49159c02fd09dce264ded7802c9499a0f09646f5/src/syntax/nginx.tmLanguage) | [GPL-3.0](https://raw.githubusercontent.com/hangxingliu/vscode-nginx-conf-hint/main/LICENSE) | `lua` | 34.14 kB |
|
|
@@ -240,7 +240,7 @@ Injections are grammars that are embedded in other grammars. They are used to ag
|
|
|
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
242
|
| `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
|
-
| `angular-template-blocks` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/
|
|
243
|
+
| `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
244
|
| `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
245
|
| `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
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 |
|
package/grammars/move.json
CHANGED
|
@@ -395,6 +395,9 @@
|
|
|
395
395
|
{
|
|
396
396
|
"include": "#path_access"
|
|
397
397
|
},
|
|
398
|
+
{
|
|
399
|
+
"include": "#match_expression"
|
|
400
|
+
},
|
|
398
401
|
{
|
|
399
402
|
"match": "\\$(?=[a-z])",
|
|
400
403
|
"name": "keyword.operator.macro.dollar.move"
|
|
@@ -826,6 +829,47 @@
|
|
|
826
829
|
"match": "(\\b|\\.)([a-z][A-Za-z0-9_]*)!",
|
|
827
830
|
"name": "meta.macro.call"
|
|
828
831
|
},
|
|
832
|
+
"match_expression": {
|
|
833
|
+
"begin": "\\b(match)\\b",
|
|
834
|
+
"beginCaptures": {
|
|
835
|
+
"1": {
|
|
836
|
+
"name": "keyword.control.match.move"
|
|
837
|
+
}
|
|
838
|
+
},
|
|
839
|
+
"comment": "enum pattern matching",
|
|
840
|
+
"end": "(?<=})",
|
|
841
|
+
"name": "meta.match.move",
|
|
842
|
+
"patterns": [
|
|
843
|
+
{
|
|
844
|
+
"include": "#comments"
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"include": "#escaped_identifier"
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"include": "#types"
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"begin": "{",
|
|
854
|
+
"comment": "Block expression or definition",
|
|
855
|
+
"end": "}",
|
|
856
|
+
"name": "meta.match.block.move",
|
|
857
|
+
"patterns": [
|
|
858
|
+
{
|
|
859
|
+
"comment": "arrow operator",
|
|
860
|
+
"match": "\\b(=>)\\b",
|
|
861
|
+
"name": "operator.match.move"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"include": "#expr"
|
|
865
|
+
}
|
|
866
|
+
]
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"include": "#expr"
|
|
870
|
+
}
|
|
871
|
+
]
|
|
872
|
+
},
|
|
829
873
|
"method_call": {
|
|
830
874
|
"captures": {
|
|
831
875
|
"1": {
|
package/index.js
CHANGED
|
@@ -1945,15 +1945,15 @@ export const grammars = [
|
|
|
1945
1945
|
source: 'https://github.com/modularml/mojo-syntax/blob/46eccdaeda2b1587e9b82808cdb35670f359d16d/syntaxes/mojo.syntax.json',
|
|
1946
1946
|
},
|
|
1947
1947
|
{
|
|
1948
|
-
byteSize:
|
|
1948
|
+
byteSize: 19432,
|
|
1949
1949
|
displayName: 'Move',
|
|
1950
|
-
lastUpdate: '2024-
|
|
1950
|
+
lastUpdate: '2024-07-16T20:33:13Z',
|
|
1951
1951
|
license: 'MIT',
|
|
1952
1952
|
licenseUrl: 'https://raw.githubusercontent.com/damirka/move-syntax/main/LICENSE',
|
|
1953
1953
|
name: 'move',
|
|
1954
1954
|
scopeName: 'source.move',
|
|
1955
|
-
sha: '
|
|
1956
|
-
source: 'https://github.com/damirka/move-syntax/blob/
|
|
1955
|
+
sha: '1b57eb84b85cb21835f83a50f988091afa926fdf',
|
|
1956
|
+
source: 'https://github.com/damirka/move-syntax/blob/1b57eb84b85cb21835f83a50f988091afa926fdf/syntaxes/move.tmLanguage.json',
|
|
1957
1957
|
},
|
|
1958
1958
|
{
|
|
1959
1959
|
aliases: [
|
|
@@ -3462,7 +3462,7 @@ export const injections = [
|
|
|
3462
3462
|
source: 'https://github.com/angular/vscode-ng-language-service/blob/28739e438742bee69faceda5fd15445682451397/syntaxes/template.json',
|
|
3463
3463
|
},
|
|
3464
3464
|
{
|
|
3465
|
-
byteSize:
|
|
3465
|
+
byteSize: 1205,
|
|
3466
3466
|
embedded: [
|
|
3467
3467
|
'angular-expression',
|
|
3468
3468
|
'angular-template',
|
|
@@ -3476,13 +3476,13 @@ export const injections = [
|
|
|
3476
3476
|
'text.html.derivative.ng',
|
|
3477
3477
|
'source.ts.ng',
|
|
3478
3478
|
],
|
|
3479
|
-
lastUpdate: '2024-
|
|
3479
|
+
lastUpdate: '2024-07-19T01:10:54Z',
|
|
3480
3480
|
license: 'MIT',
|
|
3481
3481
|
licenseUrl: 'https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE',
|
|
3482
3482
|
name: 'angular-template-blocks',
|
|
3483
3483
|
scopeName: 'template.blocks.ng',
|
|
3484
|
-
sha: '
|
|
3485
|
-
source: 'https://github.com/angular/vscode-ng-language-service/blob/
|
|
3484
|
+
sha: 'b424eaa01e3cb5600bfe65ce7232a72c7d452d19',
|
|
3485
|
+
source: 'https://github.com/angular/vscode-ng-language-service/blob/b424eaa01e3cb5600bfe65ce7232a72c7d452d19/syntaxes/template-blocks.json',
|
|
3486
3486
|
},
|
|
3487
3487
|
{
|
|
3488
3488
|
byteSize: 235569,
|