tm-grammars 1.24.13 → 1.24.15
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 +2 -2
- package/grammars/hack.json +1 -1
- package/grammars/nix.json +3 -21
- package/index.js +17 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -96,7 +96,7 @@ import { grammars } from 'tm-grammars'
|
|
|
96
96
|
| `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/f8bb386a48f799f890d00f217a90f615c9b3866c/extensions/go/syntaxes/go.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 43.43 kB |
|
|
97
97
|
| `graphql` | `gql` | [prisma-labs/vscode-graphql](https://github.com/prisma-labs/vscode-graphql/blob/4569aef2364b42b6acd8188e4a6ca9b0ba3c6a1d/grammars/graphql.json) | [MIT](https://raw.githubusercontent.com/graphql/vscode-graphql/master/LICENSE) | | `javascript` `typescript` `jsx` `tsx` | 16.91 kB |
|
|
98
98
|
| `groovy` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/groovy/syntaxes/groovy.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 18.17 kB |
|
|
99
|
-
| `hack` | | [slackhq/vscode-hack](https://github.com/slackhq/vscode-hack/blob/
|
|
99
|
+
| `hack` | | [slackhq/vscode-hack](https://github.com/slackhq/vscode-hack/blob/b518393296112ec3189d97a6051e06c4dd5b46d6/syntaxes/hack.json) | [MIT](https://raw.githubusercontent.com/slackhq/vscode-hack/master/LICENSE.md) | | `html` `sql` | 76.68 kB |
|
|
100
100
|
| `haml` | | [karuna/haml-vscode](https://github.com/karuna/haml-vscode/blob/aa45415aefd691af0a501ea4f98e434490623e0d/syntaxes/haml.json) | [MIT](https://raw.githubusercontent.com/karuna/haml-vscode/master/LICENSE.md) | | `ruby` `javascript` `sass` `coffee` `markdown` `css` | 7.54 kB |
|
|
101
101
|
| `handlebars` | `hbs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/45db52ba6bd211cecd03897caee0531350071721/extensions/handlebars/syntaxes/Handlebars.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `html` `css` `javascript` `yaml` | 11.40 kB |
|
|
102
102
|
| `haskell` | `hs` | [octref/language-haskell](https://github.com/octref/language-haskell/blob/ae87982aac2bf5cf6334c067e49c5ec8fc08b871/syntaxes/haskell.json) | [BSD-3-Clause](https://raw.githubusercontent.com/octref/language-haskell/master/LICENSE) | [GitHub Sponsors: **@octref**](https://github.com/sponsors/octref) | | 38.52 kB |
|
|
@@ -148,7 +148,7 @@ import { grammars } from 'tm-grammars'
|
|
|
148
148
|
| `nextflow` | `nf` | [nextflow-io/vscode-language-nextflow](https://github.com/nextflow-io/vscode-language-nextflow/blob/165b1a3b8d4f25b1eebc81976c62eae44e2d5dd2/syntaxes/nextflow.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/main/LICENSE.md) | | | 3.86 kB |
|
|
149
149
|
| `nginx` | | [hangxingliu/vscode-nginx-conf-hint](https://github.com/hangxingliu/vscode-nginx-conf-hint/blob/49159c02fd09dce264ded7802c9499a0f09646f5/src/syntax/nginx.tmLanguage) | [GPL-3.0](https://raw.githubusercontent.com/hangxingliu/vscode-nginx-conf-hint/main/LICENSE) | | `lua` | 33.88 kB |
|
|
150
150
|
| `nim` | | [pragmagic/vscode-nim](https://github.com/pragmagic/vscode-nim/blob/0272a0544ddf147fde98f8a8f2b624b7dcb19eb3/syntaxes/nim.json) | [NOASSERTION](https://raw.githubusercontent.com/pragmagic/vscode-nim/master/LICENSE) | | `c` `html` `xml` `javascript` `css` `glsl` `markdown` | 20.78 kB |
|
|
151
|
-
| `nix` | | [nix-community/vscode-nix-ide](https://github.com/nix-community/vscode-nix-ide/blob/
|
|
151
|
+
| `nix` | | [nix-community/vscode-nix-ide](https://github.com/nix-community/vscode-nix-ide/blob/fe0a5763cbe937ffcb00846b053b9928fc919f7e/syntaxes/nix.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/nix-community/vscode-nix-ide/main/LICENSE) | [GitHub Sponsors: **@nix-community**](https://github.com/sponsors/nix-community) [Open Collective: **nix-community**](https://opencollective.com/nix-community) | | 13.79 kB |
|
|
152
152
|
| `nushell` | `nu` | [nushell/vscode-nushell-lang](https://github.com/nushell/vscode-nushell-lang/blob/544de244f118d57d78f0971c1797d427e90d2cb6/syntaxes/nushell.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/LICENSE) | | | 19.24 kB |
|
|
153
153
|
| `objective-c` | `objc` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/objective-c/syntaxes/objective-c.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 100.65 kB |
|
|
154
154
|
| `objective-cpp` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/objective-c/syntaxes/objective-c++.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 163.50 kB |
|
package/grammars/hack.json
CHANGED
|
@@ -859,7 +859,7 @@
|
|
|
859
859
|
"name": "keyword.control.php"
|
|
860
860
|
}
|
|
861
861
|
},
|
|
862
|
-
"match": "\\s*\\b(await|break|c(ase|ontinue)|concurrent|default|do|else|for(each)?|if|return|switch|use|while)\\b"
|
|
862
|
+
"match": "\\s*\\b(await|break|c(ase|ontinue)|concurrent|default|do|else|for(each)?|if|nameof|return|switch|use|while)\\b"
|
|
863
863
|
},
|
|
864
864
|
{
|
|
865
865
|
"begin": "(?i)\\b((?:require|include)(?:_once)?)\\b\\s*",
|
package/grammars/nix.json
CHANGED
|
@@ -363,33 +363,15 @@
|
|
|
363
363
|
{
|
|
364
364
|
"begin": "/\\*([^*]|\\*[^/])*",
|
|
365
365
|
"end": "\\*/",
|
|
366
|
-
"name": "comment.block.nix"
|
|
367
|
-
"patterns": [
|
|
368
|
-
{
|
|
369
|
-
"include": "#comment-remark"
|
|
370
|
-
}
|
|
371
|
-
]
|
|
366
|
+
"name": "comment.block.nix"
|
|
372
367
|
},
|
|
373
368
|
{
|
|
374
369
|
"begin": "#",
|
|
375
370
|
"end": "$",
|
|
376
|
-
"name": "comment.line.number-sign.nix"
|
|
377
|
-
"patterns": [
|
|
378
|
-
{
|
|
379
|
-
"include": "#comment-remark"
|
|
380
|
-
}
|
|
381
|
-
]
|
|
371
|
+
"name": "comment.line.number-sign.nix"
|
|
382
372
|
}
|
|
383
373
|
]
|
|
384
374
|
},
|
|
385
|
-
"comment-remark": {
|
|
386
|
-
"captures": {
|
|
387
|
-
"1": {
|
|
388
|
-
"name": "markup.bold.comment.nix"
|
|
389
|
-
}
|
|
390
|
-
},
|
|
391
|
-
"match": "(TODO|FIXME|BUG|!!!):?"
|
|
392
|
-
},
|
|
393
375
|
"constants": {
|
|
394
376
|
"patterns": [
|
|
395
377
|
{
|
|
@@ -650,7 +632,7 @@
|
|
|
650
632
|
"function-for-sure": {
|
|
651
633
|
"patterns": [
|
|
652
634
|
{
|
|
653
|
-
"begin": "(?=(\\b[A-Z_a-z][-'0-9A-Z_a-z]*\\s*[:@]|\\{[
|
|
635
|
+
"begin": "(?=(\\b[A-Z_a-z][-'0-9A-Z_a-z]*\\s*[:@]|\\{[^\"'}]*}\\s*:|\\{[^\"#'/=}]*[,?]))",
|
|
654
636
|
"end": "(?=([]),;}]|\\b(else|then)\\b))",
|
|
655
637
|
"patterns": [
|
|
656
638
|
{
|
package/index.js
CHANGED
|
@@ -1563,7 +1563,7 @@ export const grammars = [
|
|
|
1563
1563
|
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/groovy/syntaxes/groovy.tmLanguage.json?ref=8fdf170a0850c1cc027382f31650aaf300d3ae2a',
|
|
1564
1564
|
},
|
|
1565
1565
|
{
|
|
1566
|
-
byteSize:
|
|
1566
|
+
byteSize: 78521,
|
|
1567
1567
|
categories: [
|
|
1568
1568
|
'general',
|
|
1569
1569
|
],
|
|
@@ -1574,15 +1574,15 @@ export const grammars = [
|
|
|
1574
1574
|
],
|
|
1575
1575
|
funding: [
|
|
1576
1576
|
],
|
|
1577
|
-
hash: '
|
|
1578
|
-
lastUpdate: '2025-
|
|
1577
|
+
hash: '4cow1qubTp3mJy1NyOmcIjB2tJ_R_KJ8CqV25-f_c1I',
|
|
1578
|
+
lastUpdate: '2025-09-25T13:02:01Z',
|
|
1579
1579
|
license: 'MIT',
|
|
1580
1580
|
licenseUrl: 'https://raw.githubusercontent.com/slackhq/vscode-hack/master/LICENSE.md',
|
|
1581
1581
|
name: 'hack',
|
|
1582
1582
|
scopeName: 'source.hack',
|
|
1583
|
-
sha: '
|
|
1584
|
-
source: 'https://github.com/slackhq/vscode-hack/blob/
|
|
1585
|
-
sourceApi: 'https://api.github.com/repos/slackhq/vscode-hack/contents/syntaxes/hack.json?ref=
|
|
1583
|
+
sha: 'b518393296112ec3189d97a6051e06c4dd5b46d6',
|
|
1584
|
+
source: 'https://github.com/slackhq/vscode-hack/blob/b518393296112ec3189d97a6051e06c4dd5b46d6/syntaxes/hack.json',
|
|
1585
|
+
sourceApi: 'https://api.github.com/repos/slackhq/vscode-hack/contents/syntaxes/hack.json?ref=b518393296112ec3189d97a6051e06c4dd5b46d6',
|
|
1586
1586
|
},
|
|
1587
1587
|
{
|
|
1588
1588
|
byteSize: 7719,
|
|
@@ -2720,24 +2720,29 @@ export const grammars = [
|
|
|
2720
2720
|
sourceApi: 'https://api.github.com/repos/pragmagic/vscode-nim/contents/syntaxes/nim.json?ref=0272a0544ddf147fde98f8a8f2b624b7dcb19eb3',
|
|
2721
2721
|
},
|
|
2722
2722
|
{
|
|
2723
|
-
byteSize:
|
|
2723
|
+
byteSize: 14119,
|
|
2724
2724
|
displayName: 'Nix',
|
|
2725
2725
|
funding: [
|
|
2726
|
+
{
|
|
2727
|
+
handle: '@nix-community',
|
|
2728
|
+
name: 'GitHub Sponsors',
|
|
2729
|
+
url: 'https://github.com/sponsors/nix-community',
|
|
2730
|
+
},
|
|
2726
2731
|
{
|
|
2727
2732
|
handle: 'nix-community',
|
|
2728
2733
|
name: 'Open Collective',
|
|
2729
2734
|
url: 'https://opencollective.com/nix-community',
|
|
2730
2735
|
},
|
|
2731
2736
|
],
|
|
2732
|
-
hash: '
|
|
2733
|
-
lastUpdate: '2025-
|
|
2737
|
+
hash: '0WgBLxfmz8u9-ng9T0owSVCfTcASbKnyk98W8vMYek4',
|
|
2738
|
+
lastUpdate: '2025-09-29T09:06:25Z',
|
|
2734
2739
|
license: 'MIT',
|
|
2735
2740
|
licenseUrl: 'https://raw.githubusercontent.com/nix-community/vscode-nix-ide/main/LICENSE',
|
|
2736
2741
|
name: 'nix',
|
|
2737
2742
|
scopeName: 'source.nix',
|
|
2738
|
-
sha: '
|
|
2739
|
-
source: 'https://github.com/nix-community/vscode-nix-ide/blob/
|
|
2740
|
-
sourceApi: 'https://api.github.com/repos/nix-community/vscode-nix-ide/contents/syntaxes/nix.YAML-tmLanguage?ref=
|
|
2743
|
+
sha: 'fe0a5763cbe937ffcb00846b053b9928fc919f7e',
|
|
2744
|
+
source: 'https://github.com/nix-community/vscode-nix-ide/blob/fe0a5763cbe937ffcb00846b053b9928fc919f7e/syntaxes/nix.YAML-tmLanguage',
|
|
2745
|
+
sourceApi: 'https://api.github.com/repos/nix-community/vscode-nix-ide/contents/syntaxes/nix.YAML-tmLanguage?ref=fe0a5763cbe937ffcb00846b053b9928fc919f7e',
|
|
2741
2746
|
},
|
|
2742
2747
|
{
|
|
2743
2748
|
aliases: [
|