tm-grammars 1.24.8 → 1.24.9

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
@@ -143,7 +143,7 @@ import { grammars } from 'tm-grammars'
143
143
  | `mermaid` | `mmd` | [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) | | | 26.22 kB |
144
144
  | `mipsasm` | `mips` | [textmate/mips.tmbundle](https://github.com/textmate/mips.tmbundle/blob/eb7601016a109bf912a48a1c21988f3c4a59fb3a/Syntaxes/MIPS.tmLanguage) | | | | 2.90 kB |
145
145
  | `mojo` | | [modularml/mojo-syntax](https://github.com/modularml/mojo-syntax/blob/46eccdaeda2b1587e9b82808cdb35670f359d16d/syntaxes/mojo.syntax.json) | [MIT](https://raw.githubusercontent.com/modular/mojo-syntax/main/LICENSE) | | | 65.93 kB |
146
- | `move` | | [damirka/move-syntax](https://github.com/damirka/move-syntax/blob/4b04e9d614901097ffc0663fef40bd3e5d87779e/syntaxes/move.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/damirka/move-syntax/main/LICENSE) | | | 16.16 kB |
146
+ | `move` | | [damirka/move-syntax](https://github.com/damirka/move-syntax/blob/364a93befb35c34c22a775576842236474f5a1ac/syntaxes/move.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/damirka/move-syntax/main/LICENSE) | | | 16.45 kB |
147
147
  | `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.38 kB |
148
148
  | `nextflow` | `nf` | [nextflow-io/vscode-language-nextflow](https://github.com/nextflow-io/vscode-language-nextflow/blob/165b1a3b8d4f25b1eebc81976c62eae44e2d5dd2/syntaxes/nextflow.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/main/LICENSE.md) | | | 3.86 kB |
149
149
  | `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` | 33.88 kB |
@@ -568,7 +568,7 @@
568
568
  ]
569
569
  },
570
570
  {
571
- "include": "#type_param"
571
+ "include": "#fun_type_param"
572
572
  },
573
573
  {
574
574
  "begin": "\\(",
@@ -607,6 +607,31 @@
607
607
  }
608
608
  ]
609
609
  },
610
+ "fun_type_param": {
611
+ "begin": "<",
612
+ "end": ">",
613
+ "name": "meta.fun_generic_param.move",
614
+ "patterns": [
615
+ {
616
+ "include": "#comments"
617
+ },
618
+ {
619
+ "include": "#types"
620
+ },
621
+ {
622
+ "include": "#phantom"
623
+ },
624
+ {
625
+ "include": "#capitalized"
626
+ },
627
+ {
628
+ "include": "#module_access"
629
+ },
630
+ {
631
+ "include": "#abilities"
632
+ }
633
+ ]
634
+ },
610
635
  "has": {
611
636
  "match": "\\b(has)\\b",
612
637
  "name": "keyword.control.ability.has.move"
@@ -756,9 +781,14 @@
756
781
  "name": "constant.language.boolean.move"
757
782
  },
758
783
  {
759
- "begin": "vector\\[",
784
+ "begin": "\\b(vector)\\b\\[",
785
+ "captures": {
786
+ "1": {
787
+ "name": "support.type.vector.move"
788
+ }
789
+ },
760
790
  "end": "]",
761
- "name": "meta.vector.literal.macro.move",
791
+ "name": "meta.vector.literal.move",
762
792
  "patterns": [
763
793
  {
764
794
  "include": "#expr"
package/index.js CHANGED
@@ -2624,19 +2624,19 @@ export const grammars = [
2624
2624
  sourceApi: 'https://api.github.com/repos/modularml/mojo-syntax/contents/syntaxes/mojo.syntax.json?ref=46eccdaeda2b1587e9b82808cdb35670f359d16d',
2625
2625
  },
2626
2626
  {
2627
- byteSize: 16547,
2627
+ byteSize: 16846,
2628
2628
  displayName: 'Move',
2629
2629
  funding: [
2630
2630
  ],
2631
- hash: 'XPMUc2shR1_6bdiCwT1JVRtamdRciHbc-mkSxk-Ulzc',
2632
- lastUpdate: '2024-09-17T09:24:46Z',
2631
+ hash: 'i3tZNX7e61PIemrTwZaW3GE1nLwrwqVVa1w_j1C0T5k',
2632
+ lastUpdate: '2025-09-03T19:57:47Z',
2633
2633
  license: 'MIT',
2634
2634
  licenseUrl: 'https://raw.githubusercontent.com/damirka/move-syntax/main/LICENSE',
2635
2635
  name: 'move',
2636
2636
  scopeName: 'source.move',
2637
- sha: '4b04e9d614901097ffc0663fef40bd3e5d87779e',
2638
- source: 'https://github.com/damirka/move-syntax/blob/4b04e9d614901097ffc0663fef40bd3e5d87779e/syntaxes/move.tmLanguage.json',
2639
- sourceApi: 'https://api.github.com/repos/damirka/move-syntax/contents/syntaxes/move.tmLanguage.json?ref=4b04e9d614901097ffc0663fef40bd3e5d87779e',
2637
+ sha: '364a93befb35c34c22a775576842236474f5a1ac',
2638
+ source: 'https://github.com/damirka/move-syntax/blob/364a93befb35c34c22a775576842236474f5a1ac/syntaxes/move.tmLanguage.json',
2639
+ sourceApi: 'https://api.github.com/repos/damirka/move-syntax/contents/syntaxes/move.tmLanguage.json?ref=364a93befb35c34c22a775576842236474f5a1ac',
2640
2640
  },
2641
2641
  {
2642
2642
  aliases: [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.24.8",
4
+ "version": "1.24.9",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",