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 Sep 21, 2024
1 parent 2611ebf commit cf9a126
Show file tree
Hide file tree
Showing 11 changed files with 46 additions and 23 deletions.
4 changes: 2 additions & 2 deletions packages/tm-grammars/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ import { grammars } from 'tm-grammars'
| `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 |
| `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 |
| `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 |
| `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 |
| `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 |
| `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 |
| `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 |
| `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 |
Expand Down Expand Up @@ -202,7 +202,7 @@ import { grammars } from 'tm-grammars'
| `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.65 kB |
| `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 |
| `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 |
| `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 |
| `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 |
| `toml` | | [textmate/toml.tmbundle](https://github.com/textmate/toml.tmbundle/blob/e82b64c1e86396220786846201e9aa3f0a2d9ca2/Syntaxes/TOML.tmLanguage) | | | 6.04 kB |
| `ts-tags` | `lit` | - | | `typescript` `es-tag-css` `es-tag-glsl` `es-tag-html` `es-tag-sql` `es-tag-xml` | 121.00 B |
Expand Down
6 changes: 3 additions & 3 deletions packages/tm-grammars/grammars/hcl.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
}
},
"block": {
"begin": "([\\w][\\-\\w]*)([^?\\r\\n]*)(\\{)",
"begin": "([\\w][\\-\\w]*)(([^\\S\\r\\n]*([\\w][\\-_\\w]*|\\\"[^\\\"\\r\\n]*\\\"))*)[^\\S\\r\\n]*(\\{)",
"beginCaptures": {
"1": {
"patterns": [
Expand All @@ -99,13 +99,13 @@
"name": "variable.other.enummember.hcl"
},
{
"comment": "Block label (Indentifier)",
"comment": "Block label (Identifier)",
"match": "[A-Za-z][0-9A-Za-z_-]*",
"name": "variable.other.enummember.hcl"
}
]
},
"3": {
"5": {
"name": "punctuation.section.block.begin.hcl"
}
},
Expand Down
3 changes: 3 additions & 0 deletions packages/tm-grammars/grammars/terraform.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@
},
"3": {
"name": "punctuation.section.block.begin.hcl"
},
"5": {
"name": "punctuation.section.block.begin.hcl"
}
},
"comment": "This will match Terraform blocks like `resource \"aws_instance\" \"web\" {` or `module {`",
Expand Down
16 changes: 8 additions & 8 deletions packages/tm-grammars/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1233,15 +1233,15 @@ export const grammars = [
source: 'https://github.com/vshaxe/haxe-TmLanguage/blob/ddad8b4c6d0781ac20be0481174ec1be772c5da5/haxe.YAML-tmLanguage',
},
{
byteSize: 11397,
byteSize: 11454,
displayName: 'HashiCorp HCL',
lastUpdate: '2024-04-25T10:30:43Z',
lastUpdate: '2024-09-17T14:22:47Z',
license: 'MPL-2.0',
licenseUrl: 'https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE',
name: 'hcl',
scopeName: 'source.hcl',
sha: 'ab1d9da794f06ae91afa06a590727cbf836939b0',
source: 'https://github.com/hashicorp/syntax/blob/ab1d9da794f06ae91afa06a590727cbf836939b0/syntaxes/hcl.tmGrammar.json',
sha: 'cc2b4d4fe389f14b8a13937f4e0d7b2811b57588',
source: 'https://github.com/hashicorp/syntax/blob/cc2b4d4fe389f14b8a13937f4e0d7b2811b57588/syntaxes/hcl.tmGrammar.json',
},
{
byteSize: 11808,
Expand Down Expand Up @@ -2921,15 +2921,15 @@ export const grammars = [
'tf',
'tfvars',
],
byteSize: 12801,
byteSize: 12852,
displayName: 'Terraform',
lastUpdate: '2024-03-28T16:14:11Z',
lastUpdate: '2024-09-17T14:22:47Z',
license: 'MPL-2.0',
licenseUrl: 'https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE',
name: 'terraform',
scopeName: 'source.hcl.terraform',
sha: 'c693badea4d460d1c05b8d2ab0c88bad143da3f1',
source: 'https://github.com/hashicorp/syntax/blob/c693badea4d460d1c05b8d2ab0c88bad143da3f1/syntaxes/terraform.tmGrammar.json',
sha: 'cc2b4d4fe389f14b8a13937f4e0d7b2811b57588',
source: 'https://github.com/hashicorp/syntax/blob/cc2b4d4fe389f14b8a13937f4e0d7b2811b57588/syntaxes/terraform.tmGrammar.json',
},
{
byteSize: 8962,
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.17.23",
"version": "1.17.24",
"description": "Collecton of TextMate grammars in JSON",
"author": "Anthony Fu <[email protected]>",
"license": "MIT",
Expand Down
6 changes: 3 additions & 3 deletions packages/tm-grammars/raw/hcl.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
}
},
"block": {
"begin": "([\\w][\\-\\w]*)([^?\\r\\n]*)(\\{)",
"begin": "([\\w][\\-\\w]*)(([^\\S\\r\\n]*([\\w][\\-_\\w]*|\\\"[^\\\"\\r\\n]*\\\"))*)[^\\S\\r\\n]*(\\{)",
"beginCaptures": {
"1": {
"patterns": [
Expand All @@ -99,13 +99,13 @@
"name": "variable.other.enummember.hcl"
},
{
"comment": "Block label (Indentifier)",
"comment": "Block label (Identifier)",
"match": "[[:alpha:]][[:alnum:]_-]*",
"name": "variable.other.enummember.hcl"
}
]
},
"3": {
"5": {
"name": "punctuation.section.block.begin.hcl"
}
},
Expand Down
3 changes: 3 additions & 0 deletions packages/tm-grammars/raw/terraform.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@
},
"3": {
"name": "punctuation.section.block.begin.hcl"
},
"5": {
"name": "punctuation.section.block.begin.hcl"
}
},
"comment": "This will match Terraform blocks like `resource \"aws_instance\" \"web\" {` or `module {`",
Expand Down
2 changes: 1 addition & 1 deletion packages/tm-themes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ import { themes } from 'tm-themes'
| Monokai | `monokai` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/f605341af6b083f2b6d9c853d882b96955c690b7/extensions/theme-monokai/themes/monokai-color-theme.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | 7.60 kB |
| Night Owl | `night-owl` | [sdras/night-owl-vscode-theme](https://github.com/sdras/night-owl-vscode-theme/blob/33ef8e835fde5df592dddeec63bc0c80d073bc24/themes/Night%20Owl-color-theme.json) | [MIT](https://raw.githubusercontent.com/sdras/night-owl-vscode-theme/main/LICENSE) | 28.02 kB |
| Nord | `nord` | [arcticicestudio/nord-visual-studio-code](https://github.com/arcticicestudio/nord-visual-studio-code/blob/27045851c5154fe2d9b116e7491c596cdcd72275/themes/nord-color-theme.json) | [MIT](https://raw.githubusercontent.com/nordtheme/visual-studio-code/develop/license) | 26.04 kB |
| One Dark Pro | `one-dark-pro` | [Binaryify/OneDark-Pro](https://github.com/Binaryify/OneDark-Pro/blob/3072916859666e0ec12555dd42109cf3d84aaf32/themes/OneDark-Pro.json) | [MIT](https://raw.githubusercontent.com/Binaryify/OneDark-Pro/master/LICENSE.txt) | 32.65 kB |
| One Dark Pro | `one-dark-pro` | [Binaryify/OneDark-Pro](https://github.com/Binaryify/OneDark-Pro/blob/aa95e43ffc7ac6af58f6a715c29483fa532eab32/themes/OneDark-Pro.json) | [MIT](https://raw.githubusercontent.com/Binaryify/OneDark-Pro/master/LICENSE.txt) | 32.85 kB |
| Plastic | `plastic` | [will-stone/plastic](https://github.com/will-stone/plastic/blob/30eaf248a3ee319c85ddf254dd0cb64a443d1571/themes/main.json) | [MIT](https://raw.githubusercontent.com/will-stone/plastic/main/LICENSE) | 9.02 kB |
| Poimandres | `poimandres` | [drcmda/poimandres-theme](https://github.com/drcmda/poimandres-theme/blob/574213aba50e3a46a95fa86a69025a0fae046a8a/themes/poimandres-color-theme.json) | [MIT](https://raw.githubusercontent.com/drcmda/poimandres-theme/main/LICENSE) | 32.65 kB |
| Red | `red` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/f605341af6b083f2b6d9c853d882b96955c690b7/extensions/theme-red/themes/Red-color-theme.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | 6.02 kB |
Expand Down
8 changes: 4 additions & 4 deletions packages/tm-themes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,14 +355,14 @@ export const themes = [
type: 'dark',
},
{
byteSize: 33435,
byteSize: 33640,
displayName: 'One Dark Pro',
lastUpdate: '2024-09-13T02:43:40Z',
lastUpdate: '2024-09-20T01:36:44Z',
license: 'MIT',
licenseUrl: 'https://raw.githubusercontent.com/Binaryify/OneDark-Pro/master/LICENSE.txt',
name: 'one-dark-pro',
sha: '3072916859666e0ec12555dd42109cf3d84aaf32',
source: 'https://github.com/Binaryify/OneDark-Pro/blob/3072916859666e0ec12555dd42109cf3d84aaf32/themes/OneDark-Pro.json',
sha: 'aa95e43ffc7ac6af58f6a715c29483fa532eab32',
source: 'https://github.com/Binaryify/OneDark-Pro/blob/aa95e43ffc7ac6af58f6a715c29483fa532eab32/themes/OneDark-Pro.json',
type: 'dark',
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/tm-themes/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tm-themes",
"type": "module",
"version": "1.8.2",
"version": "1.8.3",
"description": "Collecton of TextMate grammars in JSON",
"author": "Anthony Fu <[email protected]>",
"license": "MIT",
Expand Down
17 changes: 17 additions & 0 deletions packages/tm-themes/themes/one-dark-pro.json
Original file line number Diff line number Diff line change
Expand Up @@ -1980,6 +1980,23 @@
"foreground": "#e06c75"
}
},
{
"scope": [
"support.class.math.block.environment.latex",
"constant.other.general.math.tex"
],
"settings": {
"foreground": "#61afef"
}
},
{
"scope": [
"constant.character.math.tex"
],
"settings": {
"foreground": "#98c379"
}
},
{
"scope": "entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter,variable.language.super",
"settings": {
Expand Down

0 comments on commit cf9a126

Please sign in to comment.