tm-grammars 1.6.1 → 1.6.3

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
@@ -64,7 +64,7 @@ import { grammars } from 'tm-grammars'
64
64
  | `elixir` | | [elixir-editors/elixir-tmbundle](https://github.com/elixir-editors/elixir-tmbundle/blob/43c8cd957d5ac6e1abbd8730fc7a08c81a6e76c9/Syntaxes/Elixir.tmLanguage) | [NOASSERTION](https://raw.githubusercontent.com/elixir-editors/elixir-tmbundle/master/LICENSE) | `html` | 16.96 kB |
65
65
  | `elm` | | [elm-tooling/elm-language-client-vscode](https://github.com/elm-tooling/elm-language-client-vscode/blob/c70351314682c2e0fae8a402ebb301da79821c37/syntaxes/elm-syntax.json) | [MIT](https://raw.githubusercontent.com/elm-tooling/elm-language-client-vscode/main/LICENSE) | `glsl` | 10.51 kB |
66
66
  | `erb` | | [textmate/ruby.tmbundle](https://github.com/textmate/ruby.tmbundle/blob/ecf0f1df23984bcff9b51552e35d9696cb0d9539/Syntaxes/HTML%20(Ruby%20-%20ERB).tmLanguage) | | `html` `ruby` | 1.90 kB |
67
- | `erlang` | `erl` | [erlang-ls/grammar](https://github.com/erlang-ls/grammar/blob/20fc9036e3c2b2ada5f14925bffc7041951f38af/Erlang.plist) | [Apache-2.0](https://raw.githubusercontent.com/erlang-ls/grammar/main/LICENSE) | | 28.16 kB |
67
+ | `erlang` | `erl` | [erlang-ls/grammar](https://github.com/erlang-ls/grammar/blob/5ce71b5dcfe4b62d7c9c78fd19f79501ebf7837c/Erlang.plist) | [Apache-2.0](https://raw.githubusercontent.com/erlang-ls/grammar/main/LICENSE) | | 27.99 kB |
68
68
  | `fish` | | [bmalehorn/vscode-fish](https://github.com/bmalehorn/vscode-fish/blob/2fe4ccc72fdcd9b9f54fbb2c05fe9b350c32d718/syntaxes/fish.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/bmalehorn/vscode-fish/master/LICENSE) | | 5.06 kB |
69
69
  | `fortran-fixed-form` | `f` `for` `f77` | [fortran-lang/vscode-fortran-support](https://github.com/fortran-lang/vscode-fortran-support/blob/e642012094fc0a7379f204bb4e61243005afb1da/syntaxes/fortran_fixed-form.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fortran-lang/vscode-fortran-support/main/LICENSE) | `fortran-free-form` | 905.00 B |
70
70
  | `fortran-free-form` | `f90` `f95` `f03` `f08` `f18` | [fortran-lang/vscode-fortran-support](https://github.com/fortran-lang/vscode-fortran-support/blob/f7fb41579770a0d8c75b9f295d167b31147b4f33/syntaxes/fortran_free-form.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fortran-lang/vscode-fortran-support/main/LICENSE) | | 92.92 kB |
@@ -87,7 +87,7 @@ import { grammars } from 'tm-grammars'
87
87
  | `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.68 kB |
88
88
  | `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.48 kB |
89
89
  | `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) | | 41.23 kB |
90
- | `hcl` | | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/ab4a9e8aa653ad018248b3afdb1e9b07152cc3a6/syntaxes/hcl.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 11.22 kB |
90
+ | `hcl` | | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/c693badea4d460d1c05b8d2ab0c88bad143da3f1/syntaxes/hcl.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 11.22 kB |
91
91
  | `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) | | 12.20 kB |
92
92
  | `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) | | 7.15 kB |
93
93
  | `html` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/45324363153075dab0482312ae24d8c068d81e4f/extensions/html/syntaxes/html.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `javascript` `css` | 56.74 kB |
@@ -177,7 +177,7 @@ import { grammars } from 'tm-grammars'
177
177
  | `system-verilog` | | [mshr-h/vscode-verilog-hdl-support](https://github.com/mshr-h/vscode-verilog-hdl-support/blob/dca87637e8789563ec5315794fdc5ef8ce498264/syntaxes/systemverilog.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE) | | 18.47 kB |
178
178
  | `tasl` | | [underlay/vscode-tasl](https://github.com/underlay/vscode-tasl/blob/dde4b7c0b762c2e667584095362dd49ebfacece7/syntaxes/tasl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/underlay/vscode-tasl/main/LICENSE) | | 3.21 kB |
179
179
  | `tcl` | | [sleutho/tcl](https://github.com/sleutho/tcl/blob/f18820ad14678bc033f0a35524820c90fe50f18b/syntaxes/tcl.tmLanguage) | | | 4.66 kB |
180
- | `terraform` | `tf` `tfvars` | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/fc0270594ec0c55531f2388f331b6feaca187298/syntaxes/terraform.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 12.59 kB |
180
+ | `terraform` | `tf` `tfvars` | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/c693badea4d460d1c05b8d2ab0c88bad143da3f1/syntaxes/terraform.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 12.58 kB |
181
181
  | `tex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/3c86ede5f554f6e196c832394e126b291a1de606/extensions/latex/syntaxes/TeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `r` | 7.85 kB |
182
182
  | `toml` | | [textmate/toml.tmbundle](https://github.com/textmate/toml.tmbundle/blob/e82b64c1e86396220786846201e9aa3f0a2d9ca2/Syntaxes/TOML.tmLanguage) | | | 6.26 kB |
183
183
  | `tsv` | | [mechatroner/vscode_rainbow_csv](https://github.com/mechatroner/vscode_rainbow_csv/blob/00d4c947f1bbe6a4a73599bd97fb31bdfbe262f3/syntaxes/tsv.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mechatroner/vscode_rainbow_csv/master/LICENSE) | | 633.00 B |
@@ -1672,36 +1672,23 @@
1672
1672
  "10": {
1673
1673
  "name": "punctuation.separator.placeholder-parts.erlang"
1674
1674
  },
1675
- "12": {
1676
- "name": "punctuation.separator.placeholder-parts.erlang"
1677
- },
1678
- "3": {
1679
- "name": "punctuation.separator.placeholder-parts.erlang"
1680
- },
1681
- "4": {
1682
- "name": "punctuation.separator.placeholder-parts.erlang"
1683
- },
1684
1675
  "6": {
1685
1676
  "name": "punctuation.separator.placeholder-parts.erlang"
1686
- },
1687
- "8": {
1688
- "name": "punctuation.separator.placeholder-parts.erlang"
1689
1677
  }
1690
1678
  },
1691
- "match": "(~)((\\-)?\\d++|(\\*))?((\\.)(\\d++|(\\*)))?((\\.)((\\*)|.))?[~cfegswpWPBX#bx\\+ni]",
1692
- "name": "constant.other.placeholder.erlang"
1679
+ "comment": "io:fwrite format control sequence",
1680
+ "match": "(~)((\\-)?\\d++|(\\*))?((\\.)(\\d++|(\\*))?((\\.)((\\*)|.))?)?[tlkK]*[~cfegswpWPBX#bx\\+ni]",
1681
+ "name": "constant.character.format.placeholder.other.erlang"
1693
1682
  },
1694
1683
  {
1695
1684
  "captures": {
1696
1685
  "1": {
1697
1686
  "name": "punctuation.definition.placeholder.erlang"
1698
- },
1699
- "2": {
1700
- "name": "punctuation.separator.placeholder-parts.erlang"
1701
1687
  }
1702
1688
  },
1703
- "match": "(~)(\\*)?(\\d++)?[~du\\-#fsacl]",
1704
- "name": "constant.other.placeholder.erlang"
1689
+ "comment": "io:fread format control sequence",
1690
+ "match": "(~)(\\*)?(\\d++)?(t)?[~du\\-#fsacl]",
1691
+ "name": "constant.character.format.placeholder.other.erlang"
1705
1692
  },
1706
1693
  {
1707
1694
  "match": "~[^\"]?",
package/grammars/hcl.json CHANGED
@@ -360,22 +360,23 @@
360
360
  ]
361
361
  },
362
362
  "inline_for_expression": {
363
- "begin": "(for)\\b",
364
- "beginCaptures": {
363
+ "captures": {
365
364
  "1": {
366
365
  "name": "keyword.control.hcl"
367
- }
368
- },
369
- "end": "\\n",
370
- "patterns": [
371
- {
372
- "match": "\\=\\>",
373
- "name": "storage.type.function.hcl"
374
366
  },
375
- {
376
- "include": "#for_expression_body"
367
+ "2": {
368
+ "patterns": [
369
+ {
370
+ "match": "\\=\\>",
371
+ "name": "storage.type.function.hcl"
372
+ },
373
+ {
374
+ "include": "#for_expression_body"
375
+ }
376
+ ]
377
377
  }
378
- ]
378
+ },
379
+ "match": "(for)\\b(.*)\\n"
379
380
  },
380
381
  "inline_if_expression": {
381
382
  "begin": "(if)\\b",
@@ -361,22 +361,23 @@
361
361
  ]
362
362
  },
363
363
  "inline_for_expression": {
364
- "begin": "(for)\\b",
365
- "beginCaptures": {
364
+ "captures": {
366
365
  "1": {
367
366
  "name": "keyword.control.hcl"
368
- }
369
- },
370
- "end": "\\n",
371
- "patterns": [
372
- {
373
- "match": "\\=\\>",
374
- "name": "storage.type.function.hcl"
375
367
  },
376
- {
377
- "include": "#for_expression_body"
368
+ "2": {
369
+ "patterns": [
370
+ {
371
+ "match": "\\=\\>",
372
+ "name": "storage.type.function.hcl"
373
+ },
374
+ {
375
+ "include": "#for_expression_body"
376
+ }
377
+ ]
378
378
  }
379
- ]
379
+ },
380
+ "match": "(for)\\b(.*)\\n"
380
381
  },
381
382
  "inline_if_expression": {
382
383
  "begin": "(if)\\b",
package/index.js CHANGED
@@ -642,15 +642,15 @@ export const grammars = [
642
642
  aliases: [
643
643
  'erl',
644
644
  ],
645
- byteSize: 28833,
645
+ byteSize: 28659,
646
646
  displayName: 'Erlang',
647
- lastUpdate: '2023-07-27T09:18:25Z',
647
+ lastUpdate: '2024-04-03T14:51:26Z',
648
648
  license: 'Apache-2.0',
649
649
  licenseUrl: 'https://raw.githubusercontent.com/erlang-ls/grammar/main/LICENSE',
650
650
  name: 'erlang',
651
651
  scopeName: 'source.erlang',
652
- sha: '20fc9036e3c2b2ada5f14925bffc7041951f38af',
653
- source: 'https://github.com/erlang-ls/grammar/blob/20fc9036e3c2b2ada5f14925bffc7041951f38af/Erlang.plist',
652
+ sha: '5ce71b5dcfe4b62d7c9c78fd19f79501ebf7837c',
653
+ source: 'https://github.com/erlang-ls/grammar/blob/5ce71b5dcfe4b62d7c9c78fd19f79501ebf7837c/Erlang.plist',
654
654
  },
655
655
  {
656
656
  byteSize: 5184,
@@ -1013,15 +1013,15 @@ export const grammars = [
1013
1013
  source: 'https://github.com/octref/language-haskell/blob/ae87982aac2bf5cf6334c067e49c5ec8fc08b871/syntaxes/haskell.json',
1014
1014
  },
1015
1015
  {
1016
- byteSize: 11491,
1016
+ byteSize: 11487,
1017
1017
  displayName: 'HashiCorp HCL',
1018
- lastUpdate: '2024-03-25T17:26:39Z',
1018
+ lastUpdate: '2024-03-28T16:14:11Z',
1019
1019
  license: 'MPL-2.0',
1020
1020
  licenseUrl: 'https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE',
1021
1021
  name: 'hcl',
1022
1022
  scopeName: 'source.hcl',
1023
- sha: 'ab4a9e8aa653ad018248b3afdb1e9b07152cc3a6',
1024
- source: 'https://github.com/hashicorp/syntax/blob/ab4a9e8aa653ad018248b3afdb1e9b07152cc3a6/syntaxes/hcl.tmGrammar.json',
1023
+ sha: 'c693badea4d460d1c05b8d2ab0c88bad143da3f1',
1024
+ source: 'https://github.com/hashicorp/syntax/blob/c693badea4d460d1c05b8d2ab0c88bad143da3f1/syntaxes/hcl.tmGrammar.json',
1025
1025
  },
1026
1026
  {
1027
1027
  byteSize: 12496,
@@ -2496,15 +2496,15 @@ export const grammars = [
2496
2496
  'tf',
2497
2497
  'tfvars',
2498
2498
  ],
2499
- byteSize: 12891,
2499
+ byteSize: 12887,
2500
2500
  displayName: 'Terraform',
2501
- lastUpdate: '2024-03-25T11:34:34Z',
2501
+ lastUpdate: '2024-03-28T16:14:11Z',
2502
2502
  license: 'MPL-2.0',
2503
2503
  licenseUrl: 'https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE',
2504
2504
  name: 'terraform',
2505
2505
  scopeName: 'source.hcl.terraform',
2506
- sha: 'fc0270594ec0c55531f2388f331b6feaca187298',
2507
- source: 'https://github.com/hashicorp/syntax/blob/fc0270594ec0c55531f2388f331b6feaca187298/syntaxes/terraform.tmGrammar.json',
2506
+ sha: 'c693badea4d460d1c05b8d2ab0c88bad143da3f1',
2507
+ source: 'https://github.com/hashicorp/syntax/blob/c693badea4d460d1c05b8d2ab0c88bad143da3f1/syntaxes/terraform.tmGrammar.json',
2508
2508
  },
2509
2509
  {
2510
2510
  byteSize: 8039,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.6.1",
4
+ "version": "1.6.3",
5
5
  "packageManager": "pnpm@8.15.1",
6
6
  "description": "Collecton of TextMate grammars in JSON",
7
7
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",