tm-grammars 1.4.2 → 1.4.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 +1 -1
- package/grammars/terraform.json +5 -1
- package/index.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -176,7 +176,7 @@ import { grammars } from 'tm-grammars'
|
|
|
176
176
|
| `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 |
|
|
177
177
|
| `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 |
|
|
178
178
|
| `tcl` | | [sleutho/tcl](https://github.com/sleutho/tcl/blob/f18820ad14678bc033f0a35524820c90fe50f18b/syntaxes/tcl.tmLanguage) | | | 4.66 kB |
|
|
179
|
-
| `terraform` | `tf` `tfvars` | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/
|
|
179
|
+
| `terraform` | `tf` `tfvars` | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/b8a932a994816a3bcc96c547e1c2db763e46a2de/syntaxes/terraform.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 12.49 kB |
|
|
180
180
|
| `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 |
|
|
181
181
|
| `toml` | | [textmate/toml.tmbundle](https://github.com/textmate/toml.tmbundle/blob/e82b64c1e86396220786846201e9aa3f0a2d9ca2/Syntaxes/TOML.tmLanguage) | | | 6.26 kB |
|
|
182
182
|
| `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/terraform.json
CHANGED
|
@@ -282,13 +282,17 @@
|
|
|
282
282
|
]
|
|
283
283
|
},
|
|
284
284
|
"functions": {
|
|
285
|
-
"begin": "(
|
|
285
|
+
"begin": "([:\\-\\w]+)(\\()",
|
|
286
286
|
"beginCaptures": {
|
|
287
287
|
"1": {
|
|
288
288
|
"patterns": [
|
|
289
289
|
{
|
|
290
290
|
"match": "\\b(abs|abspath|alltrue|anytrue|base64decode|base64encode|base64gzip|base64sha256|base64sha512|basename|bcrypt|can|ceil|chomp|chunklist|cidrhost|cidrnetmask|cidrsubnet|cidrsubnets|coalesce|coalescelist|compact|concat|contains|csvdecode|dirname|distinct|element|endswith|file|filebase64|filebase64sha256|filebase64sha512|fileexists|filemd5|fileset|filesha1|filesha256|filesha512|flatten|floor|format|formatdate|formatlist|indent|index|join|jsondecode|jsonencode|keys|length|log|lookup|lower|matchkeys|max|md5|merge|min|nonsensitive|one|parseint|pathexpand|plantimestamp|pow|range|regex|regexall|replace|reverse|rsadecrypt|sensitive|setintersection|setproduct|setsubtract|setunion|sha1|sha256|sha512|signum|slice|sort|split|startswith|strcontains|strrev|substr|sum|templatefile|textdecodebase64|textencodebase64|timeadd|timecmp|timestamp|title|tobool|tolist|tomap|tonumber|toset|tostring|transpose|trim|trimprefix|trimspace|trimsuffix|try|upper|urlencode|uuid|uuidv5|values|yamldecode|yamlencode|zipmap)\\b",
|
|
291
291
|
"name": "support.function.builtin.terraform"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"match": "\\bprovider::[[:alpha:]][\\w_-]*::[[:alpha:]][\\w_-]*\\b",
|
|
295
|
+
"name": "support.function.provider"
|
|
292
296
|
}
|
|
293
297
|
]
|
|
294
298
|
},
|
package/index.js
CHANGED
|
@@ -2482,15 +2482,15 @@ export const grammars = [
|
|
|
2482
2482
|
'tf',
|
|
2483
2483
|
'tfvars',
|
|
2484
2484
|
],
|
|
2485
|
-
byteSize:
|
|
2485
|
+
byteSize: 12793,
|
|
2486
2486
|
displayName: 'Terraform',
|
|
2487
|
-
lastUpdate: '
|
|
2487
|
+
lastUpdate: '2024-02-22T10:39:06Z',
|
|
2488
2488
|
license: 'MPL-2.0',
|
|
2489
2489
|
licenseUrl: 'https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE',
|
|
2490
2490
|
name: 'terraform',
|
|
2491
2491
|
scopeName: 'source.hcl.terraform',
|
|
2492
|
-
sha: '
|
|
2493
|
-
source: 'https://github.com/hashicorp/syntax/blob/
|
|
2492
|
+
sha: 'b8a932a994816a3bcc96c547e1c2db763e46a2de',
|
|
2493
|
+
source: 'https://github.com/hashicorp/syntax/blob/b8a932a994816a3bcc96c547e1c2db763e46a2de/syntaxes/terraform.tmGrammar.json',
|
|
2494
2494
|
},
|
|
2495
2495
|
{
|
|
2496
2496
|
byteSize: 8039,
|
package/package.json
CHANGED