tm-grammars 1.23.22 → 1.23.23
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/go.json +1 -1
- package/grammars/liquid.json +19 -8
- package/index.js +12 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -93,7 +93,7 @@ import { grammars } from 'tm-grammars'
|
|
|
93
93
|
| `glimmer-ts` | `gts` | [lifeart/vsc-ember-syntax](https://github.com/lifeart/vsc-ember-syntax/blob/76fce7b360ce09a78789e7d5217b8955d1a5d95f/syntaxes/source.gts.json) | [MIT](https://raw.githubusercontent.com/lifeart/vsc-ember-syntax/master/LICENSE) | | `typescript` `css` `javascript` `html` | 19.05 kB |
|
|
94
94
|
| `glsl` | | [polym0rph/GLSL.tmbundle](https://github.com/polym0rph/GLSL.tmbundle/blob/6998d3bbd204e26746a5ca580cda4c650b9057b1/Syntaxes/GLSL.tmLanguage) | | | `c` | 3.39 kB |
|
|
95
95
|
| `gnuplot` | | [MarioSchwalbe/vscode-gnuplot](https://github.com/MarioSchwalbe/vscode-gnuplot/blob/c62c1a61c9b6b4658b43d76c397dc2ad43523b6a/syntaxes/gnuplot.tmLanguage) | [GPL-3.0](https://raw.githubusercontent.com/MarioSchwalbe/vscode-gnuplot/master/LICENSE) | | | 13.73 kB |
|
|
96
|
-
| `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
96
|
+
| `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/2a17434963b1f2f383e37050c59fa5cd9edcc331/extensions/go/syntaxes/go.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 41.92 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
99
|
| `hack` | | [slackhq/vscode-hack](https://github.com/slackhq/vscode-hack/blob/2da10a05b70c9aae672f25bc218fe92d44522408/syntaxes/hack.json) | [MIT](https://raw.githubusercontent.com/slackhq/vscode-hack/master/LICENSE.md) | | `html` `sql` | 76.67 kB |
|
|
@@ -128,7 +128,7 @@ import { grammars } from 'tm-grammars'
|
|
|
128
128
|
| `latex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/0ac234bbd0b6dd67efa40d1b593f9808f9dfdaf4/extensions/latex/syntaxes/LaTeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `tex` `shellscript` `css` `gnuplot` `haskell` `html` `java` `julia` `javascript` `lua` `python` `ruby` `rust` `typescript` `xml` `yaml` `scala` | 64.85 kB |
|
|
129
129
|
| `lean` | `lean4` | [leanprover/vscode-lean4](https://github.com/leanprover/vscode-lean4/blob/2255bc20c9d28d868d04fb91428652a95cc87a92/vscode-lean4/syntaxes/lean4.json) | [Apache-2.0](https://raw.githubusercontent.com/leanprover/vscode-lean4/master/LICENSE) | | | 3.75 kB |
|
|
130
130
|
| `less` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c/extensions/less/syntaxes/less.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 92.58 kB |
|
|
131
|
-
| `liquid` | | [Shopify/liquid-tm-grammar](https://github.com/Shopify/liquid-tm-grammar/blob/
|
|
131
|
+
| `liquid` | | [Shopify/liquid-tm-grammar](https://github.com/Shopify/liquid-tm-grammar/blob/099adcf0d4beacd078a22432eaeab08d6f1e6da5/grammars/liquid.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/Shopify/liquid-tm-grammar/main/LICENSE.md) | | `html` `css` `json` `javascript` | 16.94 kB |
|
|
132
132
|
| `llvm` | | [llvm/llvm-project](https://github.com/llvm/llvm-project/blob/2705c605da2854a6b044fdf5978dea0472fd0ab1/llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml) | [NOASSERTION](https://raw.githubusercontent.com/llvm/llvm-project/main/LICENSE.TXT) | | | 4.53 kB |
|
|
133
133
|
| `log` | | [emilast/vscode-logfile-highlighter](https://github.com/emilast/vscode-logfile-highlighter/blob/396c8552ff99d0e07142fdd940d75dae212dd28c/syntaxes/log.tmLanguage) | [MIT](https://raw.githubusercontent.com/emilast/vscode-logfile-highlighter/master/LICENSE) | | | 2.52 kB |
|
|
134
134
|
| `logo` | | [textmate/logo.tmbundle](https://github.com/textmate/logo.tmbundle/blob/3205e987ed2a2aa11accdd55a7d094832441f89c/Syntaxes/Logo.tmLanguage) | | | | 2.95 kB |
|
package/grammars/go.json
CHANGED
package/grammars/liquid.json
CHANGED
|
@@ -127,6 +127,9 @@
|
|
|
127
127
|
{
|
|
128
128
|
"include": "#liquid_doc_example_tag"
|
|
129
129
|
},
|
|
130
|
+
{
|
|
131
|
+
"include": "#liquid_doc_prompt_tag"
|
|
132
|
+
},
|
|
130
133
|
{
|
|
131
134
|
"include": "#liquid_doc_fallback_tag"
|
|
132
135
|
}
|
|
@@ -252,13 +255,8 @@
|
|
|
252
255
|
"name": "storage.type.class.liquid"
|
|
253
256
|
}
|
|
254
257
|
},
|
|
255
|
-
"
|
|
256
|
-
"
|
|
257
|
-
{
|
|
258
|
-
"match": "[^@]+",
|
|
259
|
-
"name": "string.quoted.single.liquid"
|
|
260
|
-
}
|
|
261
|
-
]
|
|
258
|
+
"contentName": "string.quoted.single.liquid",
|
|
259
|
+
"end": "(?=@prompt|@example|@param|@description|\\{%-?\\s*enddoc\\s*-?%})"
|
|
262
260
|
},
|
|
263
261
|
"liquid_doc_example_tag": {
|
|
264
262
|
"begin": "(@example)\\b\\s*",
|
|
@@ -271,7 +269,7 @@
|
|
|
271
269
|
}
|
|
272
270
|
},
|
|
273
271
|
"contentName": "meta.embedded.block.liquid",
|
|
274
|
-
"end": "(
|
|
272
|
+
"end": "(?=@prompt|@example|@param|@description|\\{%-?\\s*enddoc\\s*-?%})",
|
|
275
273
|
"patterns": [
|
|
276
274
|
{
|
|
277
275
|
"include": "#core"
|
|
@@ -303,6 +301,19 @@
|
|
|
303
301
|
},
|
|
304
302
|
"match": "(@param)\\s+(?:(\\{[^}]*}?)\\s+)?(\\[?[A-Z_a-z][-\\w]*]?)?(?:\\s+(.*))?"
|
|
305
303
|
},
|
|
304
|
+
"liquid_doc_prompt_tag": {
|
|
305
|
+
"begin": "(@prompt)\\b\\s*",
|
|
306
|
+
"beginCaptures": {
|
|
307
|
+
"0": {
|
|
308
|
+
"name": "comment.block.documentation.liquid"
|
|
309
|
+
},
|
|
310
|
+
"1": {
|
|
311
|
+
"name": "storage.type.class.liquid"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"contentName": "string.quoted.single.liquid",
|
|
315
|
+
"end": "(?=@prompt|@example|@param|@description|\\{%-?\\s*enddoc\\s*-?%})"
|
|
316
|
+
},
|
|
306
317
|
"number": {
|
|
307
318
|
"match": "(([-+])\\s*)?[0-9]+(\\.[0-9]+)?",
|
|
308
319
|
"name": "constant.numeric.liquid"
|
package/index.js
CHANGED
|
@@ -1479,22 +1479,22 @@ export const grammars = [
|
|
|
1479
1479
|
sourceApi: 'https://api.github.com/repos/MarioSchwalbe/vscode-gnuplot/contents/syntaxes/gnuplot.tmLanguage?ref=c62c1a61c9b6b4658b43d76c397dc2ad43523b6a',
|
|
1480
1480
|
},
|
|
1481
1481
|
{
|
|
1482
|
-
byteSize:
|
|
1482
|
+
byteSize: 42922,
|
|
1483
1483
|
categories: [
|
|
1484
1484
|
'general',
|
|
1485
1485
|
],
|
|
1486
1486
|
displayName: 'Go',
|
|
1487
1487
|
funding: [
|
|
1488
1488
|
],
|
|
1489
|
-
hash: '
|
|
1490
|
-
lastUpdate: '2025-
|
|
1489
|
+
hash: 'J0n54TuV-DKt344UglKfo-xeSh-J59PfLujbCH6hYug',
|
|
1490
|
+
lastUpdate: '2025-05-22T08:27:50Z',
|
|
1491
1491
|
license: 'MIT',
|
|
1492
1492
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
1493
1493
|
name: 'go',
|
|
1494
1494
|
scopeName: 'source.go',
|
|
1495
|
-
sha: '
|
|
1496
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
1497
|
-
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/go/syntaxes/go.tmLanguage.json?ref=
|
|
1495
|
+
sha: '2a17434963b1f2f383e37050c59fa5cd9edcc331',
|
|
1496
|
+
source: 'https://github.com/microsoft/vscode/blob/2a17434963b1f2f383e37050c59fa5cd9edcc331/extensions/go/syntaxes/go.tmLanguage.json',
|
|
1497
|
+
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/go/syntaxes/go.tmLanguage.json?ref=2a17434963b1f2f383e37050c59fa5cd9edcc331',
|
|
1498
1498
|
},
|
|
1499
1499
|
{
|
|
1500
1500
|
aliases: [
|
|
@@ -2221,7 +2221,7 @@ export const grammars = [
|
|
|
2221
2221
|
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/less/syntaxes/less.tmLanguage.json?ref=03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c',
|
|
2222
2222
|
},
|
|
2223
2223
|
{
|
|
2224
|
-
byteSize:
|
|
2224
|
+
byteSize: 17349,
|
|
2225
2225
|
displayName: 'Liquid',
|
|
2226
2226
|
embedded: [
|
|
2227
2227
|
'html',
|
|
@@ -2231,15 +2231,15 @@ export const grammars = [
|
|
|
2231
2231
|
],
|
|
2232
2232
|
funding: [
|
|
2233
2233
|
],
|
|
2234
|
-
hash: '
|
|
2235
|
-
lastUpdate: '2025-
|
|
2234
|
+
hash: '3Gmm1MUQO84mr1AMl2f51_1mUwO7wxMBhZMynY4DnwU',
|
|
2235
|
+
lastUpdate: '2025-05-12T22:03:09Z',
|
|
2236
2236
|
license: 'MIT',
|
|
2237
2237
|
licenseUrl: 'https://raw.githubusercontent.com/Shopify/liquid-tm-grammar/main/LICENSE.md',
|
|
2238
2238
|
name: 'liquid',
|
|
2239
2239
|
scopeName: 'text.html.liquid',
|
|
2240
|
-
sha: '
|
|
2241
|
-
source: 'https://github.com/Shopify/liquid-tm-grammar/blob/
|
|
2242
|
-
sourceApi: 'https://api.github.com/repos/Shopify/liquid-tm-grammar/contents/grammars/liquid.tmLanguage.json?ref=
|
|
2240
|
+
sha: '099adcf0d4beacd078a22432eaeab08d6f1e6da5',
|
|
2241
|
+
source: 'https://github.com/Shopify/liquid-tm-grammar/blob/099adcf0d4beacd078a22432eaeab08d6f1e6da5/grammars/liquid.tmLanguage.json',
|
|
2242
|
+
sourceApi: 'https://api.github.com/repos/Shopify/liquid-tm-grammar/contents/grammars/liquid.tmLanguage.json?ref=099adcf0d4beacd078a22432eaeab08d6f1e6da5',
|
|
2243
2243
|
},
|
|
2244
2244
|
{
|
|
2245
2245
|
byteSize: 4637,
|