tm-grammars 1.17.22 → 1.17.24

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
@@ -72,7 +72,7 @@ import { grammars } from 'tm-grammars'
72
72
  | `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.25 kB |
73
73
  | `emacs-lisp` | `elisp` | [Alhadis/language-emacs-lisp](https://github.com/Alhadis/language-emacs-lisp/blob/07ef9e419b80478a0976acbc6ef9d190b07e508e/grammars/emacs-lisp.cson) | [ISC](https://raw.githubusercontent.com/Alhadis/language-emacs-lisp/master/LICENSE.md) | | 784.09 kB |
74
74
  | `erb` | | [textmate/ruby.tmbundle](https://github.com/textmate/ruby.tmbundle/blob/ecf0f1df23984bcff9b51552e35d9696cb0d9539/Syntaxes/HTML%20(Ruby%20-%20ERB).tmLanguage) | | `html` `ruby` | 1.90 kB |
75
- | `erlang` | `erl` | [erlang-ls/grammar](https://github.com/erlang-ls/grammar/blob/cf532fa16db0f106c50db4bcad38f862210f6d14/Erlang.plist) | [Apache-2.0](https://raw.githubusercontent.com/erlang-ls/grammar/main/LICENSE) | | 34.56 kB |
75
+ | `erlang` | `erl` | [erlang-ls/grammar](https://github.com/erlang-ls/grammar/blob/002e4afb366c9286ef52defc207348b38238222a/Erlang.plist) | [Apache-2.0](https://raw.githubusercontent.com/erlang-ls/grammar/main/LICENSE) | | 34.57 kB |
76
76
  | `fennel` | | [kongeor/vsc-fennel](https://github.com/kongeor/vsc-fennel/blob/664148923d7bd72531120d0cba712c6dba6f698d/syntaxes/fennel.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/kongeor/vsc-fennel/master/LICENSE) | | 4.54 kB |
77
77
  | `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.04 kB |
78
78
  | `fluent` | `ftl` | [macabeus/vscode-fluent](https://github.com/macabeus/vscode-fluent/blob/8544ea296a7769a359f43ddff4dc4b6c61f5cf59/syntaxes/fluent.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/macabeus/vscode-fluent/master/LICENSE) | | 3.39 kB |
@@ -99,7 +99,7 @@ import { grammars } from 'tm-grammars'
99
99
  | `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.47 kB |
100
100
  | `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) | | 39.81 kB |
101
101
  | `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.49 kB |
102
- | `hcl` | | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/ab1d9da794f06ae91afa06a590727cbf836939b0/syntaxes/hcl.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 11.13 kB |
102
+ | `hcl` | | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/cc2b4d4fe389f14b8a13937f4e0d7b2811b57588/syntaxes/hcl.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 11.19 kB |
103
103
  | `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.53 kB |
104
104
  | `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.09 kB |
105
105
  | `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.55 kB |
@@ -202,7 +202,7 @@ import { grammars } from 'tm-grammars'
202
202
  | `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 |
203
203
  | `tcl` | | [sleutho/tcl](https://github.com/sleutho/tcl/blob/f18820ad14678bc033f0a35524820c90fe50f18b/syntaxes/tcl.tmLanguage) | | | 4.65 kB |
204
204
  | `templ` | | [templ-go/templ-vscode](https://github.com/templ-go/templ-vscode/blob/4f85ade86dba0ecabd80fe6e845653a0a4aed5bf/syntaxes/templ.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/templ-go/templ-vscode/main/LICENSE) | `go` `javascript` `css` | 22.69 kB |
205
- | `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.50 kB |
205
+ | `terraform` | `tf` `tfvars` | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/cc2b4d4fe389f14b8a13937f4e0d7b2811b57588/syntaxes/terraform.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 12.55 kB |
206
206
  | `tex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/b8e3432a0b7dd11ffd0c832fad6a6c51e809013c/extensions/latex/syntaxes/TeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `r` | 8.75 kB |
207
207
  | `toml` | | [textmate/toml.tmbundle](https://github.com/textmate/toml.tmbundle/blob/e82b64c1e86396220786846201e9aa3f0a2d9ca2/Syntaxes/TOML.tmLanguage) | | | 6.04 kB |
208
208
  | `ts-tags` | `lit` | - | | `typescript` `es-tag-css` `es-tag-glsl` `es-tag-html` `es-tag-sql` `es-tag-xml` | 121.00 B |
@@ -584,7 +584,7 @@
584
584
  ]
585
585
  },
586
586
  {
587
- "begin": "\\b(fun)\\s*+(\\()(?=(\\s*+\\())",
587
+ "begin": "\\b(fun)\\s*+(\\()(?=(\\s*+\\()|(\\)))",
588
588
  "beginCaptures": {
589
589
  "1": {
590
590
  "name": "entity.name.function.erlang"
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]*)(([^\\S\\r\\n]*([\\w][\\-_\\w]*|\\\"[^\\\"\\r\\n]*\\\"))*)[^\\S\\r\\n]*(\\{)",
84
84
  "beginCaptures": {
85
85
  "1": {
86
86
  "patterns": [
@@ -99,13 +99,13 @@
99
99
  "name": "variable.other.enummember.hcl"
100
100
  },
101
101
  {
102
- "comment": "Block label (Indentifier)",
102
+ "comment": "Block label (Identifier)",
103
103
  "match": "[A-Za-z][0-9A-Za-z_-]*",
104
104
  "name": "variable.other.enummember.hcl"
105
105
  }
106
106
  ]
107
107
  },
108
- "3": {
108
+ "5": {
109
109
  "name": "punctuation.section.block.begin.hcl"
110
110
  }
111
111
  },
@@ -108,6 +108,9 @@
108
108
  },
109
109
  "3": {
110
110
  "name": "punctuation.section.block.begin.hcl"
111
+ },
112
+ "5": {
113
+ "name": "punctuation.section.block.begin.hcl"
111
114
  }
112
115
  },
113
116
  "comment": "This will match Terraform blocks like `resource \"aws_instance\" \"web\" {` or `module {`",
package/index.js CHANGED
@@ -809,15 +809,15 @@ export const grammars = [
809
809
  aliases: [
810
810
  'erl',
811
811
  ],
812
- byteSize: 35389,
812
+ byteSize: 35395,
813
813
  displayName: 'Erlang',
814
- lastUpdate: '2024-04-03T07:43:17Z',
814
+ lastUpdate: '2024-06-18T19:26:56Z',
815
815
  license: 'Apache-2.0',
816
816
  licenseUrl: 'https://raw.githubusercontent.com/erlang-ls/grammar/main/LICENSE',
817
817
  name: 'erlang',
818
818
  scopeName: 'source.erlang',
819
- sha: 'cf532fa16db0f106c50db4bcad38f862210f6d14',
820
- source: 'https://github.com/erlang-ls/grammar/blob/cf532fa16db0f106c50db4bcad38f862210f6d14/Erlang.plist',
819
+ sha: '002e4afb366c9286ef52defc207348b38238222a',
820
+ source: 'https://github.com/erlang-ls/grammar/blob/002e4afb366c9286ef52defc207348b38238222a/Erlang.plist',
821
821
  },
822
822
  {
823
823
  byteSize: 4649,
@@ -1233,15 +1233,15 @@ export const grammars = [
1233
1233
  source: 'https://github.com/vshaxe/haxe-TmLanguage/blob/ddad8b4c6d0781ac20be0481174ec1be772c5da5/haxe.YAML-tmLanguage',
1234
1234
  },
1235
1235
  {
1236
- byteSize: 11397,
1236
+ byteSize: 11454,
1237
1237
  displayName: 'HashiCorp HCL',
1238
- lastUpdate: '2024-04-25T10:30:43Z',
1238
+ lastUpdate: '2024-09-17T14:22:47Z',
1239
1239
  license: 'MPL-2.0',
1240
1240
  licenseUrl: 'https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE',
1241
1241
  name: 'hcl',
1242
1242
  scopeName: 'source.hcl',
1243
- sha: 'ab1d9da794f06ae91afa06a590727cbf836939b0',
1244
- source: 'https://github.com/hashicorp/syntax/blob/ab1d9da794f06ae91afa06a590727cbf836939b0/syntaxes/hcl.tmGrammar.json',
1243
+ sha: 'cc2b4d4fe389f14b8a13937f4e0d7b2811b57588',
1244
+ source: 'https://github.com/hashicorp/syntax/blob/cc2b4d4fe389f14b8a13937f4e0d7b2811b57588/syntaxes/hcl.tmGrammar.json',
1245
1245
  },
1246
1246
  {
1247
1247
  byteSize: 11808,
@@ -2921,15 +2921,15 @@ export const grammars = [
2921
2921
  'tf',
2922
2922
  'tfvars',
2923
2923
  ],
2924
- byteSize: 12801,
2924
+ byteSize: 12852,
2925
2925
  displayName: 'Terraform',
2926
- lastUpdate: '2024-03-28T16:14:11Z',
2926
+ lastUpdate: '2024-09-17T14:22:47Z',
2927
2927
  license: 'MPL-2.0',
2928
2928
  licenseUrl: 'https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE',
2929
2929
  name: 'terraform',
2930
2930
  scopeName: 'source.hcl.terraform',
2931
- sha: 'c693badea4d460d1c05b8d2ab0c88bad143da3f1',
2932
- source: 'https://github.com/hashicorp/syntax/blob/c693badea4d460d1c05b8d2ab0c88bad143da3f1/syntaxes/terraform.tmGrammar.json',
2931
+ sha: 'cc2b4d4fe389f14b8a13937f4e0d7b2811b57588',
2932
+ source: 'https://github.com/hashicorp/syntax/blob/cc2b4d4fe389f14b8a13937f4e0d7b2811b57588/syntaxes/terraform.tmGrammar.json',
2933
2933
  },
2934
2934
  {
2935
2935
  byteSize: 8962,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.17.22",
4
+ "version": "1.17.24",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",