Skip to content

Commit

Permalink
feat: update Themes and Grammars [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 23, 2024
1 parent d2fa0b1 commit 7d3b513
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/tm-grammars/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ import { grammars } from 'tm-grammars'
| `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 |
| `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 |
| `tcl` | | [sleutho/tcl](https://github.com/sleutho/tcl/blob/f18820ad14678bc033f0a35524820c90fe50f18b/syntaxes/tcl.tmLanguage) | | | 4.66 kB |
| `terraform` | `tf` `tfvars` | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/13b5b4f2832a27901f1391ce0264199065c01169/syntaxes/terraform.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 12.39 kB |
| `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 |
| `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 |
| `toml` | | [textmate/toml.tmbundle](https://github.com/textmate/toml.tmbundle/blob/e82b64c1e86396220786846201e9aa3f0a2d9ca2/Syntaxes/TOML.tmLanguage) | | | 6.26 kB |
| `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 |
Expand Down
6 changes: 5 additions & 1 deletion packages/tm-grammars/grammars/terraform.json
Original file line number Diff line number Diff line change
Expand Up @@ -282,13 +282,17 @@
]
},
"functions": {
"begin": "(\\w+)(\\()",
"begin": "([:\\-\\w]+)(\\()",
"beginCaptures": {
"1": {
"patterns": [
{
"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",
"name": "support.function.builtin.terraform"
},
{
"match": "\\bprovider::[[:alpha:]][\\w_-]*::[[:alpha:]][\\w_-]*\\b",
"name": "support.function.provider"
}
]
},
Expand Down
8 changes: 4 additions & 4 deletions packages/tm-grammars/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2482,15 +2482,15 @@ export const grammars = [
'tf',
'tfvars',
],
byteSize: 12683,
byteSize: 12793,
displayName: 'Terraform',
lastUpdate: '2023-06-22T13:43:10Z',
lastUpdate: '2024-02-22T10:39:06Z',
license: 'MPL-2.0',
licenseUrl: 'https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE',
name: 'terraform',
scopeName: 'source.hcl.terraform',
sha: '13b5b4f2832a27901f1391ce0264199065c01169',
source: 'https://github.com/hashicorp/syntax/blob/13b5b4f2832a27901f1391ce0264199065c01169/syntaxes/terraform.tmGrammar.json',
sha: 'b8a932a994816a3bcc96c547e1c2db763e46a2de',
source: 'https://github.com/hashicorp/syntax/blob/b8a932a994816a3bcc96c547e1c2db763e46a2de/syntaxes/terraform.tmGrammar.json',
},
{
byteSize: 8039,
Expand Down
2 changes: 1 addition & 1 deletion packages/tm-grammars/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tm-grammars",
"type": "module",
"version": "1.4.2",
"version": "1.4.3",
"packageManager": "pnpm@8.15.1",
"description": "Collecton of TextMate grammars in JSON",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
Expand Down

0 comments on commit 7d3b513

Please sign in to comment.