tm-grammars 1.32.4 → 1.32.6

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
@@ -142,7 +142,7 @@ import { grammars } from 'tm-grammars'
142
142
  | `log` | | [emilast/vscode-logfile-highlighter](https://github.com/emilast/vscode-logfile-highlighter/blob/396c8552ff99d0e07142fdd940d75dae212dd28c/syntaxes/log.tmLanguage) | [MIT](https://raw.githubusercontent.com/emilast/vscode-logfile-highlighter/master/LICENSE) | | | 2.52 kB |
143
143
  | `logo` | | [textmate/logo.tmbundle](https://github.com/textmate/logo.tmbundle/blob/3205e987ed2a2aa11accdd55a7d094832441f89c/Syntaxes/Logo.tmLanguage) | | | | 2.95 kB |
144
144
  | `lua` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/c8fdd1650c06321d687ddfd1eff06aae4b616256/extensions/lua/syntaxes/lua.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `c` | 14.47 kB |
145
- | `luau` | | [JohnnyMorganz/Luau.tmLanguage](https://github.com/JohnnyMorganz/Luau.tmLanguage/blob/a50533f59f4369bbc742f867b90248f6c342ca17/Luau.tmLanguage) | [NOASSERTION](https://raw.githubusercontent.com/JohnnyMorganz/Luau.tmLanguage/main/LICENSE.md) | | | 15.12 kB |
145
+ | `luau` | | [JohnnyMorganz/Luau.tmLanguage](https://github.com/JohnnyMorganz/Luau.tmLanguage/blob/2565337787d6d4df5cdfdc14bfb25521d55b7c4e/Luau.tmLanguage) | [NOASSERTION](https://raw.githubusercontent.com/JohnnyMorganz/Luau.tmLanguage/main/LICENSE.md) | | | 15.29 kB |
146
146
  | `make` | `makefile` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/91db8ea85fee30ebb3c7a5e7939aa2a8d79811c5/extensions/make/syntaxes/make.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 8.41 kB |
147
147
  | `markdown` | `md` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6d8ab9737d58fc5eaf07e2ae6553b38183a5de47/extensions/markdown-basics/syntaxes/markdown.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `css` `html` `ini` `java` `lua` `make` `perl` `r` `ruby` `php` `sql` `vb` `xml` `xsl` `yaml` `bat` `clojure` `coffee` `c` `cpp` `diff` `docker` `git-commit` `git-rebase` `go` `groovy` `pug` `javascript` `json` `jsonc` `jsonl` `less` `objective-c` `swift` `scss` `raku` `powershell` `python` `julia` `regexp` `rust` `scala` `shellscript` `typescript` `tsx` `csharp` `fsharp` `dart` `handlebars` `log` `erlang` `elixir` `latex` `bibtex` `abap` `rst` `html-derivative` | 55.03 kB |
148
148
  | `marko` | | [marko-js/language-server](https://github.com/marko-js/language-server/blob/9b627df21b63f9aeecd04780b9336ac3b734fa17/packages/vscode/syntaxes/marko.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/marko-js/language-server/main/LICENSE) | | `css` `less` `scss` `typescript` | 24.23 kB |
@@ -155,8 +155,8 @@ import { grammars } from 'tm-grammars'
155
155
  | `moonbit` | `mbt` `mbti` | [moonbitlang/moonbit-tmLanguage](https://github.com/moonbitlang/moonbit-tmLanguage/blob/e19b5bd265bacd5eeae6462c9fc152b696029198/grammars/moonbit.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/moonbitlang/moonbit-tmLanguage/main/LICENSE) | | | 23.55 kB |
156
156
  | `move` | | [damirka/move-syntax](https://github.com/damirka/move-syntax/blob/01aeb9284635195a4861cfa7d46759320bb6609c/syntaxes/move.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/damirka/move-syntax/main/LICENSE) | | | 16.74 kB |
157
157
  | `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 |
158
- | `nextflow` | `nf` | [nextflow-io/vscode-language-nextflow](https://github.com/nextflow-io/vscode-language-nextflow/blob/720a2bd501837ca815acf4a225d9f3ba71a2adb0/syntaxes/nextflow.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/main/LICENSE.md) | | `nextflow-groovy` | 4.11 kB |
159
- | `nextflow-groovy` | | [nextflow-io/vscode-language-nextflow](https://github.com/nextflow-io/vscode-language-nextflow/blob/406586f401aa7c808814d1148ade0fe05446605c/syntaxes/groovy.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/main/LICENSE.md) | | | 9.88 kB |
158
+ | `nextflow` | `nf` | [nextflow-io/vscode-language-nextflow](https://github.com/nextflow-io/vscode-language-nextflow/blob/928fc02dd8d082d489a5cec0c019268894719339/syntaxes/nextflow.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/main/LICENSE.md) | | `nextflow-groovy` | 4.11 kB |
159
+ | `nextflow-groovy` | | [nextflow-io/vscode-language-nextflow](https://github.com/nextflow-io/vscode-language-nextflow/blob/928fc02dd8d082d489a5cec0c019268894719339/syntaxes/groovy.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/main/LICENSE.md) | | | 9.96 kB |
160
160
  | `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 |
161
161
  | `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 |
162
162
  | `nix` | | [nix-community/vscode-nix-ide](https://github.com/nix-community/vscode-nix-ide/blob/effbf3494a43250a537834805b305793994b9ca8/dist/nix.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nix-community/vscode-nix-ide/main/LICENSE) | [GitHub Sponsors: **@nix-community**](https://github.com/sponsors/nix-community) [Open Collective: **nix-community**](https://opencollective.com/nix-community) | `markdown-nix` | 13.87 kB |
@@ -140,9 +140,12 @@
140
140
  ]
141
141
  },
142
142
  "const-declaration": {
143
- "begin": "\\b(const)\\b",
143
+ "begin": "\\b(?:(export)\\s+)?(const)\\b",
144
144
  "beginCaptures": {
145
145
  "1": {
146
+ "name": "storage.modifier.visibility.luau"
147
+ },
148
+ "2": {
146
149
  "name": "storage.modifier.const.luau"
147
150
  }
148
151
  },
@@ -235,7 +238,7 @@
235
238
  ]
236
239
  },
237
240
  "function-definition": {
238
- "begin": "\\b(?:(local)\\s+|(const)\\s+)?(function)\\b(?![,:])",
241
+ "begin": "\\b(?:(local)\\s+|(const)\\s+|(export)\\s+)?(function)\\b(?![,:])",
239
242
  "beginCaptures": {
240
243
  "1": {
241
244
  "name": "storage.modifier.local.luau"
@@ -244,6 +247,9 @@
244
247
  "name": "storage.modifier.const.luau"
245
248
  },
246
249
  "3": {
250
+ "name": "storage.modifier.visibility.luau"
251
+ },
252
+ "4": {
247
253
  "name": "keyword.control.luau"
248
254
  }
249
255
  },
@@ -445,9 +451,12 @@
445
451
  ]
446
452
  },
447
453
  "local-declaration": {
448
- "begin": "\\b(local)\\b",
454
+ "begin": "\\b(?:(export)\\s+)?(local)\\b",
449
455
  "beginCaptures": {
450
456
  "1": {
457
+ "name": "storage.modifier.visibility.luau"
458
+ },
459
+ "2": {
451
460
  "name": "storage.modifier.local.luau"
452
461
  }
453
462
  },
@@ -486,15 +495,19 @@
486
495
  "number": {
487
496
  "patterns": [
488
497
  {
489
- "match": "\\b0_*[Xx]_*[A-F_a-f\\d]*(?:i|[Ee][-+]?_*\\d[_\\d]*(?:\\.[_\\d]*)?)?",
498
+ "match": "\\b0_*[Xx]_*[A-Fa-f\\d][A-F_a-f\\d]*i?",
490
499
  "name": "constant.numeric.hex.luau"
491
500
  },
492
501
  {
493
- "match": "\\b0_*[Bb][01_]+(?:i|[Ee][-+]?_*\\d[_\\d]*(?:\\.[_\\d]*)?)?",
502
+ "match": "\\b0_*[Bb]_*[01][01_]*i?",
494
503
  "name": "constant.numeric.binary.luau"
495
504
  },
496
505
  {
497
- "match": "(?:\\d[_\\d]*(?:\\.[_\\d]*)?|\\.\\d[_\\d]*)(?:i|[Ee][-+]?_*\\d[_\\d]*(?:\\.[_\\d]*)?)?",
506
+ "match": "\\d[_\\d]*i",
507
+ "name": "constant.numeric.decimal.luau"
508
+ },
509
+ {
510
+ "match": "(?:\\d[_\\d]*(?:\\.[_\\d]*)?|\\.\\d[_\\d]*)(?:[Ee][-+]?_*\\d[_\\d]*)?",
498
511
  "name": "constant.numeric.decimal.luau"
499
512
  }
500
513
  ]
@@ -589,6 +589,10 @@
589
589
  },
590
590
  "string-slashy": {
591
591
  "patterns": [
592
+ {
593
+ "match": "(?<=[]\"')}\\w])\\s*/(?![*/])",
594
+ "name": "keyword.operator.arithmetic.groovy"
595
+ },
592
596
  {
593
597
  "begin": "/(?=[^/]+/([^>]|$))",
594
598
  "beginCaptures": {
@@ -154,7 +154,7 @@
154
154
  },
155
155
  "function-def": {
156
156
  "applyEndPatternLast": 1,
157
- "begin": "(?<=;|^|\\{)(?=\\s*(?:def|(?:(?:boolean|byte|char|short|int|float|long|double)|@?(?:[A-Za-z]\\w*\\.)*[A-Z]+\\w*)[]\\[]*(?:<.*>)?n)\\s+([^=]+\\s+)?\\w+\\s*\\()",
157
+ "begin": "(?<=;|^|\\{)(?=\\s*(?:def|(?:(?:boolean|byte|char|short|int|float|long|double)|@?(?:[A-Za-z]\\w*\\.)*[A-Z]+\\w*)[]\\[]*(?:<.*>)?)\\s+([^=]+\\s+)?\\w+\\s*\\()",
158
158
  "end": "}|(?=[^{])",
159
159
  "name": "meta.definition.method.groovy",
160
160
  "patterns": [
package/index.js CHANGED
@@ -2554,19 +2554,19 @@ export const grammars = [
2554
2554
  sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/lua/syntaxes/lua.tmLanguage.json?ref=c8fdd1650c06321d687ddfd1eff06aae4b616256',
2555
2555
  },
2556
2556
  {
2557
- byteSize: 15480,
2557
+ byteSize: 15652,
2558
2558
  displayName: 'Luau',
2559
2559
  funding: [
2560
2560
  ],
2561
- hash: 'Gs2ihYJLKwr_48gWvgGYwLqyJIF83nq6cH4Lfi_sEr4',
2562
- lastUpdate: '2026-07-12T21:21:29Z',
2561
+ hash: 'qXeOAQpoYCsFtiX8SUZ2QWxmkZ_ZI5wPOcZqW18zd-U',
2562
+ lastUpdate: '2026-08-12T18:01:50Z',
2563
2563
  license: 'NOASSERTION',
2564
2564
  licenseUrl: 'https://raw.githubusercontent.com/JohnnyMorganz/Luau.tmLanguage/main/LICENSE.md',
2565
2565
  name: 'luau',
2566
2566
  scopeName: 'source.luau',
2567
- sha: 'a50533f59f4369bbc742f867b90248f6c342ca17',
2568
- source: 'https://github.com/JohnnyMorganz/Luau.tmLanguage/blob/a50533f59f4369bbc742f867b90248f6c342ca17/Luau.tmLanguage',
2569
- sourceApi: 'https://api.github.com/repos/JohnnyMorganz/Luau.tmLanguage/contents/Luau.tmLanguage?ref=a50533f59f4369bbc742f867b90248f6c342ca17',
2567
+ sha: '2565337787d6d4df5cdfdc14bfb25521d55b7c4e',
2568
+ source: 'https://github.com/JohnnyMorganz/Luau.tmLanguage/blob/2565337787d6d4df5cdfdc14bfb25521d55b7c4e/Luau.tmLanguage',
2569
+ sourceApi: 'https://api.github.com/repos/JohnnyMorganz/Luau.tmLanguage/contents/Luau.tmLanguage?ref=2565337787d6d4df5cdfdc14bfb25521d55b7c4e',
2570
2570
  },
2571
2571
  {
2572
2572
  aliases: [
@@ -2903,37 +2903,37 @@ export const grammars = [
2903
2903
  aliases: [
2904
2904
  'nf',
2905
2905
  ],
2906
- byteSize: 4207,
2906
+ byteSize: 4206,
2907
2907
  displayName: 'Nextflow',
2908
2908
  embedded: [
2909
2909
  'nextflow-groovy',
2910
2910
  ],
2911
2911
  funding: [
2912
2912
  ],
2913
- hash: 'dIl9b467F9tUIovXx2AfndUrOo3zniv96pOWnzymxA4',
2914
- lastUpdate: '2025-07-13T20:28:49Z',
2913
+ hash: 'Tk_8Vg2QfjCeAZPrk-tjh6jzIiXKF5UMMf80gkj49LY',
2914
+ lastUpdate: '2026-08-21T15:57:32Z',
2915
2915
  license: 'MIT',
2916
2916
  licenseUrl: 'https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/main/LICENSE.md',
2917
2917
  name: 'nextflow',
2918
2918
  scopeName: 'source.nextflow',
2919
- sha: '720a2bd501837ca815acf4a225d9f3ba71a2adb0',
2920
- source: 'https://github.com/nextflow-io/vscode-language-nextflow/blob/720a2bd501837ca815acf4a225d9f3ba71a2adb0/syntaxes/nextflow.tmLanguage.json',
2921
- sourceApi: 'https://api.github.com/repos/nextflow-io/vscode-language-nextflow/contents/syntaxes/nextflow.tmLanguage.json?ref=720a2bd501837ca815acf4a225d9f3ba71a2adb0',
2919
+ sha: '928fc02dd8d082d489a5cec0c019268894719339',
2920
+ source: 'https://github.com/nextflow-io/vscode-language-nextflow/blob/928fc02dd8d082d489a5cec0c019268894719339/syntaxes/nextflow.tmLanguage.json',
2921
+ sourceApi: 'https://api.github.com/repos/nextflow-io/vscode-language-nextflow/contents/syntaxes/nextflow.tmLanguage.json?ref=928fc02dd8d082d489a5cec0c019268894719339',
2922
2922
  },
2923
2923
  {
2924
- byteSize: 10114,
2924
+ byteSize: 10200,
2925
2925
  displayName: 'Nextflow Groovy',
2926
2926
  funding: [
2927
2927
  ],
2928
- hash: 'AGeG2wfKfMTgsK2GZVynvB72TtCa4s5-PkIU5cebHHo',
2929
- lastUpdate: '2025-07-13T20:28:30Z',
2928
+ hash: 'xH0Cd_KJOpjBn3hY6O7u5M9Onqh5A1pqYeJdjLEOyUQ',
2929
+ lastUpdate: '2026-08-21T15:57:32Z',
2930
2930
  license: 'MIT',
2931
2931
  licenseUrl: 'https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/main/LICENSE.md',
2932
2932
  name: 'nextflow-groovy',
2933
2933
  scopeName: 'source.nextflow-groovy',
2934
- sha: '406586f401aa7c808814d1148ade0fe05446605c',
2935
- source: 'https://github.com/nextflow-io/vscode-language-nextflow/blob/406586f401aa7c808814d1148ade0fe05446605c/syntaxes/groovy.tmLanguage.json',
2936
- sourceApi: 'https://api.github.com/repos/nextflow-io/vscode-language-nextflow/contents/syntaxes/groovy.tmLanguage.json?ref=406586f401aa7c808814d1148ade0fe05446605c',
2934
+ sha: '928fc02dd8d082d489a5cec0c019268894719339',
2935
+ source: 'https://github.com/nextflow-io/vscode-language-nextflow/blob/928fc02dd8d082d489a5cec0c019268894719339/syntaxes/groovy.tmLanguage.json',
2936
+ sourceApi: 'https://api.github.com/repos/nextflow-io/vscode-language-nextflow/contents/syntaxes/groovy.tmLanguage.json?ref=928fc02dd8d082d489a5cec0c019268894719339',
2937
2937
  },
2938
2938
  {
2939
2939
  byteSize: 34690,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.32.4",
4
+ "version": "1.32.6",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",