tm-grammars 1.22.4 → 1.22.6

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
@@ -184,7 +184,7 @@ import { grammars } from 'tm-grammars'
184
184
  | `rust` | `rs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c/extensions/rust/syntaxes/rust.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 16.82 kB |
185
185
  | `sas` | | [rpardee/sas](https://github.com/rpardee/sas/blob/49f6e733c6c0b918a2a825ca2f63dba704f3e8c0/syntaxes/sas.tmLanguage) | [MIT](https://raw.githubusercontent.com/rpardee/sas/master/LICENSE) | `sql` | 9.31 kB |
186
186
  | `sass` | | [TheRealSyler/vscode-sass-indented](https://github.com/TheRealSyler/vscode-sass-indented/blob/7b0bd6bbbb768c0cf21b2aa0899cb872ee42fd50/syntaxes/sass.tmLanguage.json) | [NOASSERTION](https://raw.githubusercontent.com/TheRealSyler/vscode-sass-indented/master/LICENSE) | | 8.84 kB |
187
- | `scala` | | [scala/vscode-scala-syntax](https://github.com/scala/vscode-scala-syntax/blob/d868753f29b0281fdf221785d3530d5066f5b77d/syntaxes/Scala.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/scala/vscode-scala-syntax/main/LICENSE.md) | | 27.23 kB |
187
+ | `scala` | | [scala/vscode-scala-syntax](https://github.com/scala/vscode-scala-syntax/blob/1d4029f21c9c57ce3e05486968b5de2847c25c62/syntaxes/Scala.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/scala/vscode-scala-syntax/main/LICENSE.md) | | 27.55 kB |
188
188
  | `scheme` | | [sjhuangx/vscode-scheme](https://github.com/sjhuangx/vscode-scheme/blob/4e21683666e1e2edfa21d040ecd427f628e7b5ff/syntaxes/scheme.tmLanguage) | [MIT](https://raw.githubusercontent.com/tinyjiahao/vscode-scheme/master/LICENSE.md) | | 8.09 kB |
189
189
  | `scss` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/cf8d61ebd2f022f4ce8280171f0360d1fe0a206d/extensions/scss/syntaxes/scss.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `css` | 26.67 kB |
190
190
  | `sdbl` | `1c-query` | [1c-syntax/vsc-language-1c-bsl](https://github.com/1c-syntax/vsc-language-1c-bsl/blob/c60d42089e5139942ff5b1db3a0a3ca8dd094ce6/syntaxes/1c-query.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/1c-syntax/vsc-language-1c-bsl/develop/LICENSE.md) | | 4.74 kB |
@@ -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 |
@@ -191,6 +191,9 @@
191
191
  {
192
192
  "include": "#xml-literal"
193
193
  },
194
+ {
195
+ "include": "#namedBounds"
196
+ },
194
197
  {
195
198
  "include": "#keywords"
196
199
  },
@@ -827,6 +830,21 @@
827
830
  }
828
831
  ]
829
832
  },
833
+ "namedBounds": {
834
+ "patterns": [
835
+ {
836
+ "captures": {
837
+ "1": {
838
+ "name": "keyword.other.import.as.scala"
839
+ },
840
+ "2": {
841
+ "name": "variable.stable.declaration.scala"
842
+ }
843
+ },
844
+ "match": "\\s+(as)\\s+([_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)\\b"
845
+ }
846
+ ]
847
+ },
830
848
  "parameter-list": {
831
849
  "patterns": [
832
850
  {
@@ -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
@@ -2826,16 +2826,16 @@ export const grammars = [
2826
2826
  source: 'https://github.com/TheRealSyler/vscode-sass-indented/blob/7b0bd6bbbb768c0cf21b2aa0899cb872ee42fd50/syntaxes/sass.tmLanguage.json',
2827
2827
  },
2828
2828
  {
2829
- byteSize: 27888,
2829
+ byteSize: 28211,
2830
2830
  displayName: 'Scala',
2831
- hash: 'TXBe2fD11I',
2832
- lastUpdate: '2024-10-09T13:56:15Z',
2831
+ hash: 'jFx7a5afQ0',
2832
+ lastUpdate: '2025-01-13T17:26:01Z',
2833
2833
  license: 'MIT',
2834
2834
  licenseUrl: 'https://raw.githubusercontent.com/scala/vscode-scala-syntax/main/LICENSE.md',
2835
2835
  name: 'scala',
2836
2836
  scopeName: 'source.scala',
2837
- sha: 'd868753f29b0281fdf221785d3530d5066f5b77d',
2838
- source: 'https://github.com/scala/vscode-scala-syntax/blob/d868753f29b0281fdf221785d3530d5066f5b77d/syntaxes/Scala.tmLanguage.json',
2837
+ sha: '1d4029f21c9c57ce3e05486968b5de2847c25c62',
2838
+ source: 'https://github.com/scala/vscode-scala-syntax/blob/1d4029f21c9c57ce3e05486968b5de2847c25c62/syntaxes/Scala.tmLanguage.json',
2839
2839
  },
2840
2840
  {
2841
2841
  byteSize: 8288,
@@ -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.6",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",