tm-grammars 1.24.7 → 1.24.8

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
@@ -145,7 +145,7 @@ import { grammars } from 'tm-grammars'
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
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 |
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
- | `nextflow` | `nf` | [nextflow-io/vscode-language-nextflow](https://github.com/nextflow-io/vscode-language-nextflow/blob/0880603119990bbf6fc30f02382c2149eeb215fb/syntaxes/nextflow.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/main/LICENSE.md) | | | 3.65 kB |
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 |
150
150
  | `nim` | | [pragmagic/vscode-nim](https://github.com/pragmagic/vscode-nim/blob/0272a0544ddf147fde98f8a8f2b624b7dcb19eb3/syntaxes/nim.json) | [NOASSERTION](https://raw.githubusercontent.com/pragmagic/vscode-nim/master/LICENSE) | | `c` `html` `xml` `javascript` `css` `glsl` `markdown` | 20.78 kB |
151
151
  | `nix` | | [nix-community/vscode-nix-ide](https://github.com/nix-community/vscode-nix-ide/blob/ac1ed65aa92655748200cd62bd54e5ca051781bc/syntaxes/nix.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/nix-community/vscode-nix-ide/main/LICENSE) | [Open Collective: **nix-community**](https://opencollective.com/nix-community) | | 13.97 kB |
@@ -202,7 +202,7 @@ import { grammars } from 'tm-grammars'
202
202
  | `stata` | | [kylebarron/language-stata](https://github.com/kylebarron/language-stata/blob/dd98de502bc1bf2a205f3f023afb98c7aa5b42ee/grammars/stata.json) | [MIT](https://raw.githubusercontent.com/kylebarron/language-stata/master/LICENSE) | | `sql` | 54.40 kB |
203
203
  | `stylus` | `styl` | [d4rkr00t/language-stylus](https://github.com/d4rkr00t/language-stylus/blob/198a851f385aee857332f3ce5dd981ff67720ead/syntaxes/stylus.json) | [MIT](https://raw.githubusercontent.com/d4rkr00t/language-stylus/master/LICENSE) | [Open Collective: **stylus**](https://opencollective.com/stylus) | | 29.69 kB |
204
204
  | `svelte` | | [sveltejs/language-tools](https://github.com/sveltejs/language-tools/blob/d12a9ae276c9f4c6a62964bbdca074424cbab123/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml) | [MIT](https://raw.githubusercontent.com/sveltejs/language-tools/master/LICENSE) | [Open Collective: **svelte**](https://opencollective.com/svelte) | `javascript` `typescript` `coffee` `stylus` `sass` `css` `scss` `less` `postcss` `pug` `markdown` | 16.81 kB |
205
- | `swift` | | [jtbandes/swift-tmlanguage](https://github.com/jtbandes/swift-tmlanguage/blob/3c7bb1f58dfff287c6fb963bcf397d32c796cca0/Swift.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/jtbandes/swift-tmlanguage/main/LICENSE.md) | [GitHub Sponsors: **@jtbandes**](https://github.com/sponsors/jtbandes) [Ko-fi: **jtbandes**](https://ko-fi.com/jtbandes) | | 81.49 kB |
205
+ | `swift` | | [jtbandes/swift-tmlanguage](https://github.com/jtbandes/swift-tmlanguage/blob/469723a01e76c277172bbc6636697e70e6545e40/Swift.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/jtbandes/swift-tmlanguage/main/LICENSE.md) | [GitHub Sponsors: **@jtbandes**](https://github.com/sponsors/jtbandes) [Ko-fi: **jtbandes**](https://ko-fi.com/jtbandes) | | 81.79 kB |
206
206
  | `system-verilog` | | [mshr-h/vscode-verilog-hdl-support](https://github.com/mshr-h/vscode-verilog-hdl-support/blob/a63b28cd8f15d9ec4861b2f802e8bf6ce4f6d2f2/syntaxes/systemverilog.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE) | [buymeacoffee.com](https://www.buymeacoffee.com/mshr.h) | | 24.20 kB |
207
207
  | `systemd` | | [hangxingliu/vscode-systemd](https://github.com/hangxingliu/vscode-systemd/blob/62ace1156b5afa0ec9932e3a55cfc00c0123c457/src/syntax/systemd.tmLanguage) | [MIT](https://raw.githubusercontent.com/hangxingliu/vscode-systemd/main/LICENSE) | | | 7.39 kB |
208
208
  | `talonscript` | `talon` | [mrob95/vscode-TalonScript](https://github.com/mrob95/vscode-TalonScript/blob/91f3a6faaf926c02582f36ee155f2c4a02b9cc48/syntaxes/talon.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mirober/vscode-TalonScript/master/LICENSE) | | | 6.40 kB |
@@ -189,6 +189,9 @@
189
189
  {
190
190
  "include": "#workflow-def"
191
191
  },
192
+ {
193
+ "include": "#params-def"
194
+ },
192
195
  {
193
196
  "include": "#output-def"
194
197
  },
@@ -215,6 +218,21 @@
215
218
  }
216
219
  ]
217
220
  },
221
+ "params-def": {
222
+ "begin": "^\\s*(params)\\s*\\{",
223
+ "beginCaptures": {
224
+ "1": {
225
+ "name": "keyword.nextflow"
226
+ }
227
+ },
228
+ "end": "}",
229
+ "name": "params.nextflow",
230
+ "patterns": [
231
+ {
232
+ "include": "source.nextflow-groovy#groovy"
233
+ }
234
+ ]
235
+ },
218
236
  "process-body": {
219
237
  "patterns": [
220
238
  {
@@ -909,6 +909,17 @@
909
909
  {
910
910
  "include": "#declarations-available-types"
911
911
  },
912
+ {
913
+ "include": "#literals-numeric"
914
+ },
915
+ {
916
+ "match": "\\b_\\b",
917
+ "name": "support.variable.inferred.swift"
918
+ },
919
+ {
920
+ "match": "(?<=\\s)\\bof\\b(?=\\s+[(\\[_\\p{L}\\d\\p{N}\\p{M}])",
921
+ "name": "keyword.other.inline-array.swift"
922
+ },
912
923
  {
913
924
  "begin": ":",
914
925
  "beginCaptures": {
@@ -2776,6 +2787,10 @@
2776
2787
  "match": "(?<!\\.)\\b(?:while|for|in|each)\\b",
2777
2788
  "name": "keyword.control.loop.swift"
2778
2789
  },
2790
+ {
2791
+ "match": "(?<=\\s)\\bof\\b(?=\\s+[(\\[_\\p{L}\\d\\p{N}\\p{M}])",
2792
+ "name": "keyword.other.inline-array.swift"
2793
+ },
2779
2794
  {
2780
2795
  "match": "\\bany\\b(?=\\s*`?[_\\p{L}])",
2781
2796
  "name": "keyword.other.operator.type.existential.swift"
package/index.js CHANGED
@@ -2660,19 +2660,19 @@ export const grammars = [
2660
2660
  aliases: [
2661
2661
  'nf',
2662
2662
  ],
2663
- byteSize: 3734,
2663
+ byteSize: 3948,
2664
2664
  displayName: 'Nextflow',
2665
2665
  funding: [
2666
2666
  ],
2667
- hash: 'RROCU5zG8d3QE0R5QHLqs2KQct5xu1u22WVrKzwj24U',
2668
- lastUpdate: '2025-05-14T20:20:54Z',
2667
+ hash: 'v1jBPI5NPnxqAam7a9oDMsmHRq402BIKdN8oKSZmO2o',
2668
+ lastUpdate: '2025-09-01T21:41:14Z',
2669
2669
  license: 'MIT',
2670
2670
  licenseUrl: 'https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/main/LICENSE.md',
2671
2671
  name: 'nextflow',
2672
2672
  scopeName: 'source.nextflow',
2673
- sha: '0880603119990bbf6fc30f02382c2149eeb215fb',
2674
- source: 'https://github.com/nextflow-io/vscode-language-nextflow/blob/0880603119990bbf6fc30f02382c2149eeb215fb/syntaxes/nextflow.tmLanguage.json',
2675
- sourceApi: 'https://api.github.com/repos/nextflow-io/vscode-language-nextflow/contents/syntaxes/nextflow.tmLanguage.json?ref=0880603119990bbf6fc30f02382c2149eeb215fb',
2673
+ sha: '165b1a3b8d4f25b1eebc81976c62eae44e2d5dd2',
2674
+ source: 'https://github.com/nextflow-io/vscode-language-nextflow/blob/165b1a3b8d4f25b1eebc81976c62eae44e2d5dd2/syntaxes/nextflow.tmLanguage.json',
2675
+ sourceApi: 'https://api.github.com/repos/nextflow-io/vscode-language-nextflow/contents/syntaxes/nextflow.tmLanguage.json?ref=165b1a3b8d4f25b1eebc81976c62eae44e2d5dd2',
2676
2676
  },
2677
2677
  {
2678
2678
  byteSize: 34690,
@@ -3812,7 +3812,7 @@ export const grammars = [
3812
3812
  sourceApi: 'https://api.github.com/repos/sveltejs/language-tools/contents/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml?ref=d12a9ae276c9f4c6a62964bbdca074424cbab123',
3813
3813
  },
3814
3814
  {
3815
- byteSize: 83441,
3815
+ byteSize: 83748,
3816
3816
  categories: [
3817
3817
  'general',
3818
3818
  ],
@@ -3829,15 +3829,15 @@ export const grammars = [
3829
3829
  url: 'https://ko-fi.com/jtbandes',
3830
3830
  },
3831
3831
  ],
3832
- hash: '1ZOCjlyfHH2ORuZely-36nAhpe1gqodITnN3RaN_OZQ',
3833
- lastUpdate: '2025-08-16T04:46:54Z',
3832
+ hash: 'ZkvOi4wASb0nsGoyYXnGWx-7SfraT9GcbqsUM7VhgkY',
3833
+ lastUpdate: '2025-09-01T20:11:29Z',
3834
3834
  license: 'MIT',
3835
3835
  licenseUrl: 'https://raw.githubusercontent.com/jtbandes/swift-tmlanguage/main/LICENSE.md',
3836
3836
  name: 'swift',
3837
3837
  scopeName: 'source.swift',
3838
- sha: '3c7bb1f58dfff287c6fb963bcf397d32c796cca0',
3839
- source: 'https://github.com/jtbandes/swift-tmlanguage/blob/3c7bb1f58dfff287c6fb963bcf397d32c796cca0/Swift.tmLanguage.yaml',
3840
- sourceApi: 'https://api.github.com/repos/jtbandes/swift-tmlanguage/contents/Swift.tmLanguage.yaml?ref=3c7bb1f58dfff287c6fb963bcf397d32c796cca0',
3838
+ sha: '469723a01e76c277172bbc6636697e70e6545e40',
3839
+ source: 'https://github.com/jtbandes/swift-tmlanguage/blob/469723a01e76c277172bbc6636697e70e6545e40/Swift.tmLanguage.yaml',
3840
+ sourceApi: 'https://api.github.com/repos/jtbandes/swift-tmlanguage/contents/Swift.tmLanguage.yaml?ref=469723a01e76c277172bbc6636697e70e6545e40',
3841
3841
  },
3842
3842
  {
3843
3843
  byteSize: 24776,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.24.7",
4
+ "version": "1.24.8",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",