tm-grammars 1.22.5 → 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 |
@@ -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
  {
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,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.22.5",
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",