tm-grammars 1.23.11 → 1.23.12

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
@@ -100,7 +100,7 @@ import { grammars } from 'tm-grammars'
100
100
  | `haml` | | [karuna/haml-vscode](https://github.com/karuna/haml-vscode/blob/aa45415aefd691af0a501ea4f98e434490623e0d/syntaxes/haml.json) | [MIT](https://raw.githubusercontent.com/karuna/haml-vscode/master/LICENSE.md) | | `ruby` `javascript` `sass` `coffee` `markdown` `css` | 7.55 kB |
101
101
  | `handlebars` | `hbs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/45db52ba6bd211cecd03897caee0531350071721/extensions/handlebars/syntaxes/Handlebars.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `html` `css` `javascript` `yaml` | 11.42 kB |
102
102
  | `haskell` | `hs` | [octref/language-haskell](https://github.com/octref/language-haskell/blob/ae87982aac2bf5cf6334c067e49c5ec8fc08b871/syntaxes/haskell.json) | [BSD-3-Clause](https://raw.githubusercontent.com/octref/language-haskell/master/LICENSE) | [GitHub Sponsors: **@octref**](https://github.com/sponsors/octref) | | 38.70 kB |
103
- | `haxe` | | [vshaxe/haxe-TmLanguage](https://github.com/vshaxe/haxe-TmLanguage/blob/ddad8b4c6d0781ac20be0481174ec1be772c5da5/haxe.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/vshaxe/haxe-TmLanguage/master/LICENSE.md) | | | 33.42 kB |
103
+ | `haxe` | | [vshaxe/haxe-TmLanguage](https://github.com/vshaxe/haxe-TmLanguage/blob/c1b9bc8952c83c4469e8cdeb4a1e5a6492fd8c87/haxe.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/vshaxe/haxe-TmLanguage/master/LICENSE.md) | | | 33.51 kB |
104
104
  | `hcl` | | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/2ec7cd10c9d6134e836bf85eb0f5aa010512bff4/syntaxes/hcl.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | | 9.49 kB |
105
105
  | `hjson` | | [hjson/textmate-hjson](https://github.com/hjson/textmate-hjson/blob/196075169c9a9f9ab04c8e7423b67ea72c976237/Syntaxes/Hjson.tmLanguage) | [MIT](https://raw.githubusercontent.com/hjson/textmate-hjson/master/LICENSE) | | | 11.40 kB |
106
106
  | `hlsl` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/efa12b2f49ec6ee84ed1e7bbd948808efec452f6/extensions/hlsl/syntaxes/hlsl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 6.88 kB |
@@ -201,7 +201,7 @@ import { grammars } from 'tm-grammars'
201
201
  | `ssh-config` | | [textmate/ssh-config.tmbundle](https://github.com/textmate/ssh-config.tmbundle/blob/212a0000c50e0c877303b2c4fcead539d2af2670/Syntaxes/SSH-Config.tmLanguage) | | | | 3.43 kB |
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` | 55.14 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.76 kB |
204
- | `svelte` | | [sveltejs/language-tools](https://github.com/sveltejs/language-tools/blob/58d28ca0347131c9a9cee8b4794e12c1b6fee7c7/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.01 kB |
204
+ | `svelte` | | [sveltejs/language-tools](https://github.com/sveltejs/language-tools/blob/52e80f2fb4c37bec9405fde356ea5d1f789123af/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.01 kB |
205
205
  | `swift` | | [jtbandes/swift-tmlanguage](https://github.com/jtbandes/swift-tmlanguage/blob/b8d2889b4af1d8bad41578317a6adade642555a3/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.65 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.38 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.41 kB |
@@ -1474,6 +1474,10 @@
1474
1474
  "match": "(\\?)(?!\\s)",
1475
1475
  "name": "keyword.operator.optional.hx"
1476
1476
  },
1477
+ "operator-rest": {
1478
+ "match": "\\.\\.\\.",
1479
+ "name": "keyword.operator.rest.hx"
1480
+ },
1477
1481
  "operator-type-hint": {
1478
1482
  "match": "(:)",
1479
1483
  "name": "keyword.operator.type.annotation.hx"
@@ -1580,9 +1584,6 @@
1580
1584
  {
1581
1585
  "include": "#parameter-assign"
1582
1586
  },
1583
- {
1584
- "include": "#punctuation-comma"
1585
- },
1586
1587
  {
1587
1588
  "include": "#global"
1588
1589
  }
@@ -1606,14 +1607,15 @@
1606
1607
  ]
1607
1608
  },
1608
1609
  "parameter-name": {
1609
- "begin": "(?<=[(,])",
1610
- "end": "([_a-zA-Z]\\w*)",
1611
- "endCaptures": {
1612
- "1": {
1613
- "name": "variable.parameter.hx"
1614
- }
1615
- },
1616
1610
  "patterns": [
1611
+ {
1612
+ "captures": {
1613
+ "1": {
1614
+ "name": "variable.parameter.hx"
1615
+ }
1616
+ },
1617
+ "match": "\\s*([_a-zA-Z]\\w*)"
1618
+ },
1617
1619
  {
1618
1620
  "include": "#global"
1619
1621
  },
@@ -1622,6 +1624,9 @@
1622
1624
  },
1623
1625
  {
1624
1626
  "include": "#operator-optional"
1627
+ },
1628
+ {
1629
+ "include": "#operator-rest"
1625
1630
  }
1626
1631
  ]
1627
1632
  },
@@ -1656,6 +1661,9 @@
1656
1661
  "patterns": [
1657
1662
  {
1658
1663
  "include": "#parameter"
1664
+ },
1665
+ {
1666
+ "include": "#punctuation-comma"
1659
1667
  }
1660
1668
  ]
1661
1669
  },
@@ -1109,7 +1109,7 @@
1109
1109
  "name": "support.class.component.svelte"
1110
1110
  }
1111
1111
  },
1112
- "match": "(\\w+(?:\\.\\w+)+)|([A-Z]\\w+)"
1112
+ "match": "(\\w+(?:\\.\\w+)+)|([A-Z]\\w*)"
1113
1113
  },
1114
1114
  {
1115
1115
  "match": "[a-z][\\w0-9:]*-[\\w0-9:-]*",
package/index.js CHANGED
@@ -1564,21 +1564,21 @@ export const grammars = [
1564
1564
  source: 'https://github.com/octref/language-haskell/blob/ae87982aac2bf5cf6334c067e49c5ec8fc08b871/syntaxes/haskell.json',
1565
1565
  },
1566
1566
  {
1567
- byteSize: 34225,
1567
+ byteSize: 34311,
1568
1568
  categories: [
1569
1569
  'general',
1570
1570
  ],
1571
1571
  displayName: 'Haxe',
1572
1572
  funding: [
1573
1573
  ],
1574
- hash: 'NlmzgDzKJ8qVgAYeRtn28gOfrn5zA6-0jH3UENpjdJ4',
1575
- lastUpdate: '2024-04-19T14:01:24Z',
1574
+ hash: 'fzdryd6YC9SL8wqo_Arig8QUV5_tJUvvSr1Dh6uQsvo',
1575
+ lastUpdate: '2025-04-14T00:10:10Z',
1576
1576
  license: 'MIT',
1577
1577
  licenseUrl: 'https://raw.githubusercontent.com/vshaxe/haxe-TmLanguage/master/LICENSE.md',
1578
1578
  name: 'haxe',
1579
1579
  scopeName: 'source.hx',
1580
- sha: 'ddad8b4c6d0781ac20be0481174ec1be772c5da5',
1581
- source: 'https://github.com/vshaxe/haxe-TmLanguage/blob/ddad8b4c6d0781ac20be0481174ec1be772c5da5/haxe.YAML-tmLanguage',
1580
+ sha: 'c1b9bc8952c83c4469e8cdeb4a1e5a6492fd8c87',
1581
+ source: 'https://github.com/vshaxe/haxe-TmLanguage/blob/c1b9bc8952c83c4469e8cdeb4a1e5a6492fd8c87/haxe.YAML-tmLanguage',
1582
1582
  },
1583
1583
  {
1584
1584
  byteSize: 9718,
@@ -3596,14 +3596,14 @@ export const grammars = [
3596
3596
  url: 'https://opencollective.com/svelte',
3597
3597
  },
3598
3598
  ],
3599
- hash: 'zsFbUVdYkEbN7GuPoklG0YIqW4mWcbJ8tzCrY6YdHH0',
3600
- lastUpdate: '2025-03-06T12:42:03Z',
3599
+ hash: 'wWdv_OXlLrHe6b7y89d1SFPhgz849JGg21mBAjeMyUE',
3600
+ lastUpdate: '2025-04-13T04:54:13Z',
3601
3601
  license: 'MIT',
3602
3602
  licenseUrl: 'https://raw.githubusercontent.com/sveltejs/language-tools/master/LICENSE',
3603
3603
  name: 'svelte',
3604
3604
  scopeName: 'source.svelte',
3605
- sha: '58d28ca0347131c9a9cee8b4794e12c1b6fee7c7',
3606
- source: 'https://github.com/sveltejs/language-tools/blob/58d28ca0347131c9a9cee8b4794e12c1b6fee7c7/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml',
3605
+ sha: '52e80f2fb4c37bec9405fde356ea5d1f789123af',
3606
+ source: 'https://github.com/sveltejs/language-tools/blob/52e80f2fb4c37bec9405fde356ea5d1f789123af/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml',
3607
3607
  },
3608
3608
  {
3609
3609
  byteSize: 83614,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.23.11",
4
+ "version": "1.23.12",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",