tm-grammars 1.5.5 → 1.5.7

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
@@ -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/b9d424769d0162012c6c4c88c5b5046d902abd91/syntaxes/hcl.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 11.17 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 |
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 |
@@ -129,7 +129,7 @@ import { grammars } from 'tm-grammars'
129
129
  | `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` | 34.14 kB |
130
130
  | `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` | 21.82 kB |
131
131
  | `nix` | | [bbenoist/vscode-nix](https://github.com/bbenoist/vscode-nix/blob/9a7c81109624431e032d9b02c8029b13bc2000c8/syntaxes/nix.tmLanguage) | [MIT](https://raw.githubusercontent.com/bbenoist/vscode-nix/master/LICENSE.md) | | 14.32 kB |
132
- | `nushell` | `nu` | [nushell/vscode-nushell-lang](https://github.com/nushell/vscode-nushell-lang/blob/2ca6922d3b88fe23c92e8b8ab4bf3960e492c348/syntaxes/nushell.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/LICENSE) | | 18.35 kB |
132
+ | `nushell` | `nu` | [nushell/vscode-nushell-lang](https://github.com/nushell/vscode-nushell-lang/blob/92faaf74f87bcdff8eb70e0aab7c9118e64189f4/syntaxes/nushell.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/LICENSE) | | 18.35 kB |
133
133
  | `objective-c` | `objc` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/objective-c/syntaxes/objective-c.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 103.61 kB |
134
134
  | `objective-cpp` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/objective-c/syntaxes/objective-c++.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 168.52 kB |
135
135
  | `ocaml` | | [reasonml-editor/vscode-reasonml](https://github.com/reasonml-editor/vscode-reasonml/blob/14af625ec50ed9968b957b4d6336c5338d81af45/syntaxes/ocaml.json) | [Apache-2.0](https://raw.githubusercontent.com/reasonml-editor/vscode-reasonml/master/LICENSE) | | 61.86 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/a4f0ee16f8523c807a158af881bc6d92917fa541/syntaxes/terraform.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 12.54 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 |
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
  | `tsx` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/35d97bc7e439fce0f50f42074041ab2d8571b20a/extensions/typescript-basics/syntaxes/TypeScriptReact.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 171.16 kB |
package/grammars/hcl.json CHANGED
@@ -80,7 +80,7 @@
80
80
  }
81
81
  },
82
82
  "block": {
83
- "begin": "([\\w][\\-\\w]*)([^{\\r\\n]*)(\\{)",
83
+ "begin": "([\\w][\\-\\w]*)([^?{\\r\\n]*)(\\{)",
84
84
  "beginCaptures": {
85
85
  "1": {
86
86
  "patterns": [
@@ -670,6 +670,10 @@
670
670
  {
671
671
  "match": "\\:",
672
672
  "name": "keyword.operator.hcl"
673
+ },
674
+ {
675
+ "match": "\\=\\>",
676
+ "name": "keyword.operator.hcl"
673
677
  }
674
678
  ]
675
679
  },
@@ -692,6 +692,10 @@
692
692
  {
693
693
  "match": "\\:",
694
694
  "name": "keyword.operator.hcl"
695
+ },
696
+ {
697
+ "match": "\\=\\>",
698
+ "name": "keyword.operator.hcl"
695
699
  }
696
700
  ]
697
701
  },
package/index.js CHANGED
@@ -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: 11441,
1016
+ byteSize: 11491,
1017
1017
  displayName: 'HashiCorp HCL',
1018
- lastUpdate: '2024-03-20T10:45:37Z',
1018
+ lastUpdate: '2024-03-25T17:26:39Z',
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: 'b9d424769d0162012c6c4c88c5b5046d902abd91',
1024
- source: 'https://github.com/hashicorp/syntax/blob/b9d424769d0162012c6c4c88c5b5046d902abd91/syntaxes/hcl.tmGrammar.json',
1023
+ sha: 'ab4a9e8aa653ad018248b3afdb1e9b07152cc3a6',
1024
+ source: 'https://github.com/hashicorp/syntax/blob/ab4a9e8aa653ad018248b3afdb1e9b07152cc3a6/syntaxes/hcl.tmGrammar.json',
1025
1025
  },
1026
1026
  {
1027
1027
  byteSize: 12496,
@@ -1781,13 +1781,13 @@ export const grammars = [
1781
1781
  ],
1782
1782
  byteSize: 18790,
1783
1783
  displayName: 'nushell',
1784
- lastUpdate: '2024-03-06T15:19:08Z',
1784
+ lastUpdate: '2024-03-26T20:23:04Z',
1785
1785
  license: 'MIT',
1786
1786
  licenseUrl: 'https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/LICENSE',
1787
1787
  name: 'nushell',
1788
1788
  scopeName: 'source.nushell',
1789
- sha: '2ca6922d3b88fe23c92e8b8ab4bf3960e492c348',
1790
- source: 'https://github.com/nushell/vscode-nushell-lang/blob/2ca6922d3b88fe23c92e8b8ab4bf3960e492c348/syntaxes/nushell.tmLanguage.json',
1789
+ sha: '92faaf74f87bcdff8eb70e0aab7c9118e64189f4',
1790
+ source: 'https://github.com/nushell/vscode-nushell-lang/blob/92faaf74f87bcdff8eb70e0aab7c9118e64189f4/syntaxes/nushell.tmLanguage.json',
1791
1791
  },
1792
1792
  {
1793
1793
  aliases: [
@@ -2496,15 +2496,15 @@ export const grammars = [
2496
2496
  'tf',
2497
2497
  'tfvars',
2498
2498
  ],
2499
- byteSize: 12842,
2499
+ byteSize: 12891,
2500
2500
  displayName: 'Terraform',
2501
- lastUpdate: '2024-03-20T10:34:14Z',
2501
+ lastUpdate: '2024-03-25T11:34:34Z',
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: 'a4f0ee16f8523c807a158af881bc6d92917fa541',
2507
- source: 'https://github.com/hashicorp/syntax/blob/a4f0ee16f8523c807a158af881bc6d92917fa541/syntaxes/terraform.tmGrammar.json',
2506
+ sha: 'fc0270594ec0c55531f2388f331b6feaca187298',
2507
+ source: 'https://github.com/hashicorp/syntax/blob/fc0270594ec0c55531f2388f331b6feaca187298/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.5.5",
4
+ "version": "1.5.7",
5
5
  "packageManager": "pnpm@8.15.1",
6
6
  "description": "Collecton of TextMate grammars in JSON",
7
7
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",