tm-grammars 1.22.4 → 1.22.5

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
@@ -207,7 +207,7 @@ import { grammars } from 'tm-grammars'
207
207
  | `talonscript` | `talon` | [mrob95/vscode-TalonScript](https://github.com/mrob95/vscode-TalonScript/blob/d422be3703e2b726c3538015bff9015a642eeb3e/syntaxes/talon.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mrob95/vscode-TalonScript/master/LICENSE) | | 6.29 kB |
208
208
  | `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 |
209
209
  | `tcl` | | [sleutho/tcl](https://github.com/sleutho/tcl/blob/f18820ad14678bc033f0a35524820c90fe50f18b/syntaxes/tcl.tmLanguage) | | | 4.66 kB |
210
- | `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.70 kB |
210
+ | `templ` | | [templ-go/templ-vscode](https://github.com/templ-go/templ-vscode/blob/b99c1c940cec830c01a80b58ae3cce714b30056c/syntaxes/templ.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/templ-go/templ-vscode/main/LICENSE) | `go` `javascript` `css` | 22.98 kB |
211
211
  | `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.63 kB |
212
212
  | `tex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/latex/syntaxes/TeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `r` | 8.80 kB |
213
213
  | `toml` | | [textmate/toml.tmbundle](https://github.com/textmate/toml.tmbundle/blob/e82b64c1e86396220786846201e9aa3f0a2d9ca2/Syntaxes/TOML.tmLanguage) | | | 6.08 kB |
@@ -615,6 +615,32 @@
615
615
  }
616
616
  ]
617
617
  },
618
+ "raw-go": {
619
+ "begin": "{{",
620
+ "beginCaptures": {
621
+ "0": {
622
+ "name": "start.raw-go.templ"
623
+ },
624
+ "1": {
625
+ "name": "punctuation.brace.open"
626
+ }
627
+ },
628
+ "end": "}}",
629
+ "endCaptures": {
630
+ "0": {
631
+ "name": "end.raw-go.templ"
632
+ },
633
+ "1": {
634
+ "name": "punctuation.brace.open"
635
+ }
636
+ },
637
+ "name": "raw-go.templ",
638
+ "patterns": [
639
+ {
640
+ "include": "source.go"
641
+ }
642
+ ]
643
+ },
618
644
  "script-element": {
619
645
  "begin": "(<)(script)([^>]*)(>)",
620
646
  "beginCaptures": {
@@ -1103,6 +1129,9 @@
1103
1129
  },
1104
1130
  {
1105
1131
  "include": "#switch-expression"
1132
+ },
1133
+ {
1134
+ "include": "#raw-go"
1106
1135
  }
1107
1136
  ]
1108
1137
  }
package/index.js CHANGED
@@ -3193,21 +3193,21 @@ export const grammars = [
3193
3193
  source: 'https://github.com/sleutho/tcl/blob/f18820ad14678bc033f0a35524820c90fe50f18b/syntaxes/tcl.tmLanguage',
3194
3194
  },
3195
3195
  {
3196
- byteSize: 23242,
3196
+ byteSize: 23534,
3197
3197
  displayName: 'Templ',
3198
3198
  embedded: [
3199
3199
  'go',
3200
3200
  'javascript',
3201
3201
  'css',
3202
3202
  ],
3203
- hash: 'CL6GEwTha7',
3204
- lastUpdate: '2024-05-30T10:17:28Z',
3203
+ hash: '9uNanNeV8W',
3204
+ lastUpdate: '2025-01-13T16:55:26Z',
3205
3205
  license: 'MIT',
3206
3206
  licenseUrl: 'https://raw.githubusercontent.com/templ-go/templ-vscode/main/LICENSE',
3207
3207
  name: 'templ',
3208
3208
  scopeName: 'source.templ',
3209
- sha: '4f85ade86dba0ecabd80fe6e845653a0a4aed5bf',
3210
- source: 'https://github.com/templ-go/templ-vscode/blob/4f85ade86dba0ecabd80fe6e845653a0a4aed5bf/syntaxes/templ.tmLanguage.json',
3209
+ sha: 'b99c1c940cec830c01a80b58ae3cce714b30056c',
3210
+ source: 'https://github.com/templ-go/templ-vscode/blob/b99c1c940cec830c01a80b58ae3cce714b30056c/syntaxes/templ.tmLanguage.json',
3211
3211
  },
3212
3212
  {
3213
3213
  aliases: [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.22.4",
4
+ "version": "1.22.5",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",