tm-grammars 1.22.5 → 1.22.7

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
@@ -48,7 +48,7 @@ import { grammars } from 'tm-grammars'
48
48
  | `clarity` | | [hirosystems/clarity.tmbundle](https://github.com/hirosystems/clarity.tmbundle/blob/52508cc05304780d80a5dc817fcc35c6760c5459/Syntaxes/clarity.JSON-tmLanguage) | [MIT](https://raw.githubusercontent.com/hirosystems/clarity.tmbundle/main/LICENSE) | | 13.64 kB |
49
49
  | `clojure` | `clj` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/a1a4c0a63b1ad59e84f54b874744fe35dea9abe1/extensions/clojure/syntaxes/clojure.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 6.36 kB |
50
50
  | `cmake` | | [twxs/vs.language.cmake](https://github.com/twxs/vs.language.cmake/blob/19b1b8fe2d68d72cf294d0c3c22f0a3fc54f8f6f/syntaxes/CMake.tmLanguage) | [MIT](https://raw.githubusercontent.com/twxs/vs.language.cmake/master/LICENSE) | | 10.00 kB |
51
- | `cobol` | | [spgennard/vscode_cobol](https://github.com/spgennard/vscode_cobol/blob/627c3ea9e330666c24e0723cec7b9553447ab45b/syntaxes/COBOL.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/spgennard/vscode_cobol/main/LICENSE) | `html` `java` | 38.39 kB |
51
+ | `cobol` | | [spgennard/vscode_cobol](https://github.com/spgennard/vscode_cobol/blob/dc60eb00faf728138ead0ea66581e406c6465652/syntaxes/COBOL.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/spgennard/vscode_cobol/main/LICENSE) | `html` `java` | 38.39 kB |
52
52
  | `codeowners` | | [jasonnutter/vscode-codeowners](https://github.com/jasonnutter/vscode-codeowners/blob/219dee0ab25c1bfad0b9de84180117e71221a653/syntaxes/codeowners.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/jasonnutter/vscode-codeowners/master/LICENSE.txt) | | 471.00 B |
53
53
  | `codeql` | `ql` | [github/vscode-codeql](https://github.com/github/vscode-codeql/blob/47fa163cb9fffce379458962eb391c9ef9082dcb/syntaxes/ql.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/github/vscode-codeql/main/LICENSE.md) | | 31.84 kB |
54
54
  | `coffee` | `coffeescript` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ff58f5083f57b50e6a100ab60454dfb72fe21e80/extensions/coffeescript/syntaxes/coffeescript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `javascript` | 26.11 kB |
@@ -174,7 +174,7 @@ import { grammars } from 'tm-grammars'
174
174
  | `r` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/r/syntaxes/r.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 33.72 kB |
175
175
  | `racket` | | [Eugleo/magic-racket](https://github.com/Eugleo/magic-racket/blob/6a4d9934b3ec523162ab0243b5cb0e785316507a/syntaxes/racket.tmLanguage.json) | [GPL-3.0](https://raw.githubusercontent.com/Eugleo/magic-racket/master/LICENSE) | | 91.39 kB |
176
176
  | `raku` | `perl6` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/perl/syntaxes/perl6.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 10.05 kB |
177
- | `razor` | | [dotnet/razor](https://github.com/dotnet/razor/blob/39159764277f3c80a786d8872eba7730da3d7ef0/src/Razor/src/Microsoft.VisualStudio.RazorExtension/EmbeddedGrammars/aspnetcorerazor.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/dotnet/razor/main/LICENSE.txt) | `html` `csharp` | 24.41 kB |
177
+ | `razor` | | [dotnet/razor](https://github.com/dotnet/razor/blob/9b1e979b6c3fe7cfbe30f595b9b0994d20bd482c/src/Razor/src/Microsoft.VisualStudio.RazorExtension/EmbeddedGrammars/aspnetcorerazor.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/dotnet/razor/main/LICENSE.txt) | `html` `csharp` | 24.44 kB |
178
178
  | `reg` | | [mihai-vlc/reg-vscode](https://github.com/mihai-vlc/reg-vscode/blob/896096fc6756329d82c71a913663a1c0ac678f74/syntaxes/reg.tmLanguage) | [MIT](https://raw.githubusercontent.com/mihai-vlc/reg-vscode/master/LICENSE) | | 2.20 kB |
179
179
  | `regexp` | `regex` | [MagicStack/MagicPython](https://github.com/MagicStack/MagicPython/blob/c9b3409deb69acec31bbf7913830e93a046b30cc/grammars/MagicRegExp.tmLanguage) | [MIT](https://raw.githubusercontent.com/MagicStack/MagicPython/master/LICENSE) | | 7.61 kB |
180
180
  | `rel` | | [relationalai-oss/rel_vscode](https://github.com/relationalai-oss/rel_vscode/blob/63dda4dee48c67b037357f47b562185484555ea9/syntaxes/rel.tmLanguage.json) | | | 3.18 kB |
@@ -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 |
@@ -351,7 +351,7 @@
351
351
  },
352
352
  {
353
353
  "match": "(#)([0-9a-zA-Z][a-zA-Z\\-0-9]+)",
354
- "name": "meta.symbol.cobol.forced"
354
+ "name": "meta.symbol.forced.cobol"
355
355
  },
356
356
  {
357
357
  "begin": "((?<![-_a-zA-Z0-9()-])(?i:installation|author|source-computer|object-computer|date-written|security|date-compiled)(\\.|$))",
@@ -1106,7 +1106,7 @@
1106
1106
  "match": "(\\()([0-9]*)(:)([0-9]*)(\\))"
1107
1107
  },
1108
1108
  {
1109
- "match": "([a-zA-Z-0-9_]*[a-zA-Z0-9]|([#]?[0-9a-zA-Z]+[a-zA-Z-0-9_]*[a-zA-Z0-9]))",
1109
+ "match": "([a-zA-Z-0-9-_]*[a-zA-Z0-9]|([#]?[0-9a-zA-Z]+[a-zA-Z-0-9_-]*[a-zA-Z0-9]))",
1110
1110
  "name": "meta.symbol.cobol"
1111
1111
  }
1112
1112
  ],
@@ -1447,6 +1447,9 @@
1447
1447
  {
1448
1448
  "include": "source.cs#switch-label"
1449
1449
  },
1450
+ {
1451
+ "include": "#csharp-code-block"
1452
+ },
1450
1453
  {
1451
1454
  "include": "#razor-codeblock-body"
1452
1455
  }
@@ -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
@@ -492,20 +492,20 @@ export const grammars = [
492
492
  source: 'https://github.com/twxs/vs.language.cmake/blob/19b1b8fe2d68d72cf294d0c3c22f0a3fc54f8f6f/syntaxes/CMake.tmLanguage',
493
493
  },
494
494
  {
495
- byteSize: 39311,
495
+ byteSize: 39313,
496
496
  displayName: 'COBOL',
497
497
  embedded: [
498
498
  'html',
499
499
  'java',
500
500
  ],
501
- hash: 'vxjHhkYwlh',
502
- lastUpdate: '2024-10-31T10:49:48Z',
501
+ hash: 'euBtAopOGq',
502
+ lastUpdate: '2025-01-16T21:59:32Z',
503
503
  license: 'MIT',
504
504
  licenseUrl: 'https://raw.githubusercontent.com/spgennard/vscode_cobol/main/LICENSE',
505
505
  name: 'cobol',
506
506
  scopeName: 'source.cobol',
507
- sha: '627c3ea9e330666c24e0723cec7b9553447ab45b',
508
- source: 'https://github.com/spgennard/vscode_cobol/blob/627c3ea9e330666c24e0723cec7b9553447ab45b/syntaxes/COBOL.tmLanguage.json',
507
+ sha: 'dc60eb00faf728138ead0ea66581e406c6465652',
508
+ source: 'https://github.com/spgennard/vscode_cobol/blob/dc60eb00faf728138ead0ea66581e406c6465652/syntaxes/COBOL.tmLanguage.json',
509
509
  },
510
510
  {
511
511
  byteSize: 471,
@@ -2653,20 +2653,20 @@ export const grammars = [
2653
2653
  source: 'https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/perl/syntaxes/perl6.tmLanguage.json',
2654
2654
  },
2655
2655
  {
2656
- byteSize: 24997,
2656
+ byteSize: 25030,
2657
2657
  displayName: 'ASP.NET Razor',
2658
2658
  embedded: [
2659
2659
  'html',
2660
2660
  'csharp',
2661
2661
  ],
2662
- hash: 'zCtA8kqfB6',
2663
- lastUpdate: '2024-04-18T22:08:48Z',
2662
+ hash: 'hjzTrk5BYO',
2663
+ lastUpdate: '2025-01-16T21:40:52Z',
2664
2664
  license: 'MIT',
2665
2665
  licenseUrl: 'https://raw.githubusercontent.com/dotnet/razor/main/LICENSE.txt',
2666
2666
  name: 'razor',
2667
2667
  scopeName: 'text.aspnetcorerazor',
2668
- sha: '39159764277f3c80a786d8872eba7730da3d7ef0',
2669
- source: 'https://github.com/dotnet/razor/blob/39159764277f3c80a786d8872eba7730da3d7ef0/src/Razor/src/Microsoft.VisualStudio.RazorExtension/EmbeddedGrammars/aspnetcorerazor.tmLanguage.json',
2668
+ sha: '9b1e979b6c3fe7cfbe30f595b9b0994d20bd482c',
2669
+ source: 'https://github.com/dotnet/razor/blob/9b1e979b6c3fe7cfbe30f595b9b0994d20bd482c/src/Razor/src/Microsoft.VisualStudio.RazorExtension/EmbeddedGrammars/aspnetcorerazor.tmLanguage.json',
2670
2670
  },
2671
2671
  {
2672
2672
  byteSize: 2255,
@@ -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.7",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",