tm-grammars 1.32.10 → 1.32.12
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/NOTICE +1 -1
- package/README.md +2 -2
- package/grammars/svelte.json +1 -1
- package/grammars/typespec.json +24 -0
- package/index.js +12 -12
- package/package.json +1 -1
package/NOTICE
CHANGED
|
@@ -5137,7 +5137,7 @@ Files: hcl.json, terraform.json
|
|
|
5137
5137
|
License: https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE
|
|
5138
5138
|
SPDX: MPL-2.0
|
|
5139
5139
|
---------------------------------------------------------------------------------------------------------
|
|
5140
|
-
Copyright IBM Corp.
|
|
5140
|
+
Copyright IBM Corp. 2026
|
|
5141
5141
|
|
|
5142
5142
|
Mozilla Public License Version 2.0
|
|
5143
5143
|
==================================
|
package/README.md
CHANGED
|
@@ -222,7 +222,7 @@ import { grammars } from 'tm-grammars'
|
|
|
222
222
|
| `stata` | | [kylebarron/language-stata](https://github.com/kylebarron/language-stata/blob/dd98de502bc1bf2a205f3f023afb98c7aa5b42ee/grammars/stata.json) | [MIT](https://raw.githubusercontent.com/kylebarron/language-stata/master/LICENSE) | | `sql` | 54.40 kB |
|
|
223
223
|
| `stylus` | `styl` | [d4rkr00t/language-stylus](https://github.com/d4rkr00t/language-stylus/blob/198a851f385aee857332f3ce5dd981ff67720ead/syntaxes/stylus.json) | [MIT](https://raw.githubusercontent.com/d4rkr00t/language-stylus/master/LICENSE) | [Open Collective: **stylus**](https://opencollective.com/stylus) | | 29.69 kB |
|
|
224
224
|
| `surrealql` | `surql` | [surrealdb/surrealql-grammar](https://github.com/surrealdb/surrealql-grammar/blob/d7594cbe432daaa51d30723a63fb63888d5073a0/syntaxes/surrealql.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/surrealdb/surrealql-vsx/main/LICENSE) | | `javascript` | 11.26 kB |
|
|
225
|
-
| `svelte` | | [sveltejs/language-tools](https://github.com/sveltejs/language-tools/blob/
|
|
225
|
+
| `svelte` | | [sveltejs/language-tools](https://github.com/sveltejs/language-tools/blob/2cfcc15b4c44dfc1128432e20ca663fe20bdd12e/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml) | [MIT](https://raw.githubusercontent.com/sveltejs/language-tools/master/LICENSE) | [Open Collective: **svelte**](https://opencollective.com/svelte) | `javascript` `typescript` `coffee` `stylus` `sass` `css` `scss` `less` `postcss` `pug` `markdown` | 17.22 kB |
|
|
226
226
|
| `swift` | | [jtbandes/swift-tmlanguage](https://github.com/jtbandes/swift-tmlanguage/blob/2be007b6bc88e54a0edfd3c313ff31276edc923d/Swift.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/jtbandes/swift-tmlanguage/main/LICENSE.md) | [GitHub Sponsors: **@jtbandes**](https://github.com/sponsors/jtbandes) [Ko-fi: **jtbandes**](https://ko-fi.com/jtbandes) | | 82.27 kB |
|
|
227
227
|
| `system-verilog` | | [mshr-h/vscode-verilog-hdl-support](https://github.com/mshr-h/vscode-verilog-hdl-support/blob/e6a5a2b76055dd7acbdc7420060e0314cb86e8dd/syntaxes/systemverilog.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE) | [buymeacoffee.com](https://www.buymeacoffee.com/mshr.h) | | 24.60 kB |
|
|
228
228
|
| `systemd` | | [hangxingliu/vscode-systemd](https://github.com/hangxingliu/vscode-systemd/blob/62ace1156b5afa0ec9932e3a55cfc00c0123c457/src/syntax/systemd.tmLanguage) | [MIT](https://raw.githubusercontent.com/hangxingliu/vscode-systemd/main/LICENSE) | | | 7.39 kB |
|
|
@@ -239,7 +239,7 @@ import { grammars } from 'tm-grammars'
|
|
|
239
239
|
| `turtle` | | [stardog-union/stardog-vsc](https://github.com/stardog-union/stardog-vsc/blob/3f1364b08bdbf4b4d77f123682db7d2b708b2f6e/stardog-rdf-grammars/syntaxes/turtle.tmLanguage.json) | | | | 3.49 kB |
|
|
240
240
|
| `twig` | | [mblode/vscode-twig-language-2](https://github.com/mblode/vscode-twig-language-2/blob/b4f2809d6f75850ee7350b03f8b1d439d741ebf5/src/syntaxes/twig.tmLanguage) | [MIT](https://raw.githubusercontent.com/mblode/vscode-twig-language-2/master/LICENSE.md) | [GitHub Sponsors: **@mblode**](https://github.com/sponsors/mblode) | `css` `javascript` `scss` `php` `python` `ruby` | 20.17 kB |
|
|
241
241
|
| `typescript` | `ts` `cts` `mts` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/210541906e5a96ab39f9c753f921b1bd35f4138b/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 160.03 kB |
|
|
242
|
-
| `typespec` | `tsp` | [microsoft/typespec](https://github.com/microsoft/typespec/blob/
|
|
242
|
+
| `typespec` | `tsp` | [microsoft/typespec](https://github.com/microsoft/typespec/blob/64f7850fb6e6069965ba8774643241b6a74f881c/grammars/typespec.json) | [MIT](https://raw.githubusercontent.com/microsoft/typespec/main/LICENSE) | | | 23.94 kB |
|
|
243
243
|
| `typst` | `typ` | [Myriad-Dreamin/tinymist](https://github.com/Myriad-Dreamin/tinymist/blob/e2a1812decab06adae1a837f3672bf00b3077768/editors/vscode/package.json) | [Apache-2.0](https://raw.githubusercontent.com/Myriad-Dreamin/tinymist/main/LICENSE) | | `bat` `bibtex` `c` `clojure` `coffee` `cpp` `css` `csharp` `dart` `diff` `docker` `elixir` `erlang` `fsharp` `git-commit` `git-rebase` `go` `groovy` `handlebars` `html` `ini` `java` `javascript` `jsonc` `json` `julia` `latex` `less` `log` `lua` `make` `markdown` `objective-c` `perl` `raku` `php` `powershell` `pug` `r` `regexp` `ruby` `scss` `sql` `swift` `xml` `xsl` `yaml` `python` `rust` `scala` `shellscript` `typescript` `tsx` `twig` `verilog` `system-verilog` `vb` | 151.64 kB |
|
|
244
244
|
| `v` | | [vlang/vscode-vlang](https://github.com/vlang/vscode-vlang/blob/cc6dee79af1fc1332084a263b952489aaed7e884/syntaxes/v.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/vlang/vscode-vlang/master/LICENSE) | | | 12.56 kB |
|
|
245
245
|
| `vala` | | [vala-lang/vala-vscode](https://github.com/vala-lang/vala-vscode/blob/8f825e95648326df2572d0522632251cdff4a43b/syntaxes/vala.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/vala-lang/vala-vscode/master/LICENSE) | | | 3.12 kB |
|
package/grammars/svelte.json
CHANGED
package/grammars/typespec.json
CHANGED
|
@@ -1377,6 +1377,24 @@
|
|
|
1377
1377
|
}
|
|
1378
1378
|
]
|
|
1379
1379
|
},
|
|
1380
|
+
"union-extends": {
|
|
1381
|
+
"begin": "\\b(extends)\\b",
|
|
1382
|
+
"beginCaptures": {
|
|
1383
|
+
"1": {
|
|
1384
|
+
"name": "keyword.other.tsp"
|
|
1385
|
+
}
|
|
1386
|
+
},
|
|
1387
|
+
"end": "((?=\\{)|(?=[);@}]|\\b(?:extern|internal)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b))",
|
|
1388
|
+
"name": "meta.union-extends.typespec",
|
|
1389
|
+
"patterns": [
|
|
1390
|
+
{
|
|
1391
|
+
"include": "#expression"
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"include": "#punctuation-comma"
|
|
1395
|
+
}
|
|
1396
|
+
]
|
|
1397
|
+
},
|
|
1380
1398
|
"union-statement": {
|
|
1381
1399
|
"begin": "(?:(internal)\\s+)?\\b(union)\\b\\s+(\\b[$_[:alpha:]][$_[:alnum:]]*\\b|`(?:[^\\\\`]|\\\\.)*`)",
|
|
1382
1400
|
"beginCaptures": {
|
|
@@ -1396,6 +1414,12 @@
|
|
|
1396
1414
|
{
|
|
1397
1415
|
"include": "#token"
|
|
1398
1416
|
},
|
|
1417
|
+
{
|
|
1418
|
+
"include": "#type-parameters"
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
"include": "#union-extends"
|
|
1422
|
+
},
|
|
1399
1423
|
{
|
|
1400
1424
|
"include": "#union-body"
|
|
1401
1425
|
}
|
package/index.js
CHANGED
|
@@ -4299,7 +4299,7 @@ export const grammars = [
|
|
|
4299
4299
|
sourceApi: 'https://api.github.com/repos/surrealdb/surrealql-grammar/contents/syntaxes/surrealql.tmLanguage.json?ref=d7594cbe432daaa51d30723a63fb63888d5073a0',
|
|
4300
4300
|
},
|
|
4301
4301
|
{
|
|
4302
|
-
byteSize:
|
|
4302
|
+
byteSize: 17634,
|
|
4303
4303
|
categories: [
|
|
4304
4304
|
'web',
|
|
4305
4305
|
],
|
|
@@ -4324,15 +4324,15 @@ export const grammars = [
|
|
|
4324
4324
|
url: 'https://opencollective.com/svelte',
|
|
4325
4325
|
},
|
|
4326
4326
|
],
|
|
4327
|
-
hash: '
|
|
4328
|
-
lastUpdate: '2026-
|
|
4327
|
+
hash: 'qPDmUeZEHzbMlNAax1sVGMpLgfYHIXqpmx3CZyHdO_M',
|
|
4328
|
+
lastUpdate: '2026-09-03T01:32:15Z',
|
|
4329
4329
|
license: 'MIT',
|
|
4330
4330
|
licenseUrl: 'https://raw.githubusercontent.com/sveltejs/language-tools/master/LICENSE',
|
|
4331
4331
|
name: 'svelte',
|
|
4332
4332
|
scopeName: 'source.svelte',
|
|
4333
|
-
sha: '
|
|
4334
|
-
source: 'https://github.com/sveltejs/language-tools/blob/
|
|
4335
|
-
sourceApi: 'https://api.github.com/repos/sveltejs/language-tools/contents/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml?ref=
|
|
4333
|
+
sha: '2cfcc15b4c44dfc1128432e20ca663fe20bdd12e',
|
|
4334
|
+
source: 'https://github.com/sveltejs/language-tools/blob/2cfcc15b4c44dfc1128432e20ca663fe20bdd12e/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml',
|
|
4335
|
+
sourceApi: 'https://api.github.com/repos/sveltejs/language-tools/contents/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml?ref=2cfcc15b4c44dfc1128432e20ca663fe20bdd12e',
|
|
4336
4336
|
},
|
|
4337
4337
|
{
|
|
4338
4338
|
byteSize: 84244,
|
|
@@ -4652,19 +4652,19 @@ export const grammars = [
|
|
|
4652
4652
|
aliases: [
|
|
4653
4653
|
'tsp',
|
|
4654
4654
|
],
|
|
4655
|
-
byteSize:
|
|
4655
|
+
byteSize: 24513,
|
|
4656
4656
|
displayName: 'TypeSpec',
|
|
4657
4657
|
funding: [
|
|
4658
4658
|
],
|
|
4659
|
-
hash: '
|
|
4660
|
-
lastUpdate: '2026-
|
|
4659
|
+
hash: '9Z5ySOhdzZ6qem4q8p-OqjrTN2-biM6nuW25ko0uCs0',
|
|
4660
|
+
lastUpdate: '2026-09-03T18:19:21Z',
|
|
4661
4661
|
license: 'MIT',
|
|
4662
4662
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/typespec/main/LICENSE',
|
|
4663
4663
|
name: 'typespec',
|
|
4664
4664
|
scopeName: 'source.tsp',
|
|
4665
|
-
sha: '
|
|
4666
|
-
source: 'https://github.com/microsoft/typespec/blob/
|
|
4667
|
-
sourceApi: 'https://api.github.com/repos/microsoft/typespec/contents/grammars/typespec.json?ref=
|
|
4665
|
+
sha: '64f7850fb6e6069965ba8774643241b6a74f881c',
|
|
4666
|
+
source: 'https://github.com/microsoft/typespec/blob/64f7850fb6e6069965ba8774643241b6a74f881c/grammars/typespec.json',
|
|
4667
|
+
sourceApi: 'https://api.github.com/repos/microsoft/typespec/contents/grammars/typespec.json?ref=64f7850fb6e6069965ba8774643241b6a74f881c',
|
|
4668
4668
|
},
|
|
4669
4669
|
{
|
|
4670
4670
|
aliases: [
|