tm-grammars 1.23.21 → 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 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/9a2c94d213696a4453b6d9988b003d98e7646e75/extensions/go/syntaxes/go.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 41.91 kB |
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/38264742ed4f048e4f4e910067c9503b9506eb62/grammars/liquid.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/Shopify/liquid-tm-grammar/main/LICENSE.md) | | `html` `css` `json` `javascript` | 16.59 kB |
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 |
@@ -162,7 +162,7 @@ import { grammars } from 'tm-grammars'
162
162
  | `postcss` | | [vuejs/vetur](https://github.com/vuejs/vetur/blob/8ccae3ba50b65837d4cd4acc71a3b84cd3bee27c/syntaxes/vue-postcss.json) | [MIT](https://raw.githubusercontent.com/vuejs/vetur/master/LICENSE) | [GitHub Sponsors: **@octref**](https://github.com/sponsors/octref) [IssueHunt: **vuejs/vetur**](https://issuehunt.io/r/vuejs/vetur) | | 6.05 kB |
163
163
  | `powerquery` | | [microsoft/powerquery-language](https://github.com/microsoft/powerquery-language/blob/eed9810b5f78dfb63319bdbce80bca50419dfa50/PowerQuery.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/powerquery-language/master/LICENSE) | | | 5.50 kB |
164
164
  | `powershell` | `ps` `ps1` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/9efc116de0ea4998616ebe3b17ee5b92f7dc1161/extensions/powershell/syntaxes/powershell.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 19.16 kB |
165
- | `prisma` | | [prisma/language-tools](https://github.com/prisma/language-tools/blob/7c7571d222aa13819eec4f1f0357337698f40aba/packages/vscode/syntaxes/prisma.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/prisma/language-tools/main/LICENSE) | | | 5.97 kB |
165
+ | `prisma` | | [prisma/language-tools](https://github.com/prisma/language-tools/blob/1e0059be6522d1dac98ff45cd78ab962599a815e/packages/vscode/syntaxes/prisma.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/prisma/language-tools/main/LICENSE) | | | 5.97 kB |
166
166
  | `prolog` | | [arthwang/vsc-prolog](https://github.com/arthwang/vsc-prolog/blob/5e15f731d5ef8e0f3974589b84ddefe6a2bf78c7/syntaxes/prolog.swi.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/arthwang/vsc-prolog/master/LICENSE.txt) | | | 10.94 kB |
167
167
  | `proto` | `protobuf` | [zxh0/vscode-proto3](https://github.com/zxh0/vscode-proto3/blob/ead0fb5f46a56adbe30d5a8a63d68e7131912159/syntaxes/proto3.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/zxh0/vscode-proto3/master/LICENSE.txt) | | | 6.09 kB |
168
168
  | `pug` | `jade` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/pug/syntaxes/pug.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `javascript` `css` `sass` `scss` `stylus` `coffee` `html` | 12.73 kB |
package/grammars/go.json CHANGED
@@ -1761,7 +1761,7 @@
1761
1761
  "operators": {
1762
1762
  "patterns": [
1763
1763
  {
1764
- "match": "([\\&*]+)(?!\\d)(?=[]\\[\\w]|<-)",
1764
+ "match": "(?<!\\w)[\\&*]+(?!\\d)(?=[]\\[\\w]|<-)",
1765
1765
  "name": "keyword.operator.address.go"
1766
1766
  },
1767
1767
  {
@@ -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
- "end": "(?=@|\\{%-?\\s*enddoc\\s*-?%})",
256
- "patterns": [
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": "(?=@|\\{%-?\\s*enddoc\\s*-?%})",
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: 42916,
1482
+ byteSize: 42922,
1483
1483
  categories: [
1484
1484
  'general',
1485
1485
  ],
1486
1486
  displayName: 'Go',
1487
1487
  funding: [
1488
1488
  ],
1489
- hash: 'P1xtPaitXdqOrKjN5CDRDdzj9Z-lAI6HyUnDc0pptxc',
1490
- lastUpdate: '2025-04-02T13:41:58Z',
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: '9a2c94d213696a4453b6d9988b003d98e7646e75',
1496
- source: 'https://github.com/microsoft/vscode/blob/9a2c94d213696a4453b6d9988b003d98e7646e75/extensions/go/syntaxes/go.tmLanguage.json',
1497
- sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/go/syntaxes/go.tmLanguage.json?ref=9a2c94d213696a4453b6d9988b003d98e7646e75',
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: 16986,
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: 'S1NVkJ7UFCKJOJOCG9GPDd8-GXqt9lr57LA_yVZm8-c',
2235
- lastUpdate: '2025-04-10T16:13:50Z',
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: '38264742ed4f048e4f4e910067c9503b9506eb62',
2241
- source: 'https://github.com/Shopify/liquid-tm-grammar/blob/38264742ed4f048e4f4e910067c9503b9506eb62/grammars/liquid.tmLanguage.json',
2242
- sourceApi: 'https://api.github.com/repos/Shopify/liquid-tm-grammar/contents/grammars/liquid.tmLanguage.json?ref=38264742ed4f048e4f4e910067c9503b9506eb62',
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,
@@ -2991,15 +2991,15 @@ export const grammars = [
2991
2991
  displayName: 'Prisma',
2992
2992
  funding: [
2993
2993
  ],
2994
- hash: 'qFnRyo1155c5w7_p7KoM0JAYaJEH0-6Ow_PvYUFCads',
2995
- lastUpdate: '2024-12-17T09:09:57Z',
2994
+ hash: '3QywjyKuwMm0RnrMcQpXr52isTRGNqQfal3qfJYiLzE',
2995
+ lastUpdate: '2025-05-21T13:42:02Z',
2996
2996
  license: 'Apache-2.0',
2997
2997
  licenseUrl: 'https://raw.githubusercontent.com/prisma/language-tools/main/LICENSE',
2998
2998
  name: 'prisma',
2999
2999
  scopeName: 'source.prisma',
3000
- sha: '7c7571d222aa13819eec4f1f0357337698f40aba',
3001
- source: 'https://github.com/prisma/language-tools/blob/7c7571d222aa13819eec4f1f0357337698f40aba/packages/vscode/syntaxes/prisma.tmLanguage.json',
3002
- sourceApi: 'https://api.github.com/repos/prisma/language-tools/contents/packages/vscode/syntaxes/prisma.tmLanguage.json?ref=7c7571d222aa13819eec4f1f0357337698f40aba',
3000
+ sha: '1e0059be6522d1dac98ff45cd78ab962599a815e',
3001
+ source: 'https://github.com/prisma/language-tools/blob/1e0059be6522d1dac98ff45cd78ab962599a815e/packages/vscode/syntaxes/prisma.tmLanguage.json',
3002
+ sourceApi: 'https://api.github.com/repos/prisma/language-tools/contents/packages/vscode/syntaxes/prisma.tmLanguage.json?ref=1e0059be6522d1dac98ff45cd78ab962599a815e',
3003
3003
  },
3004
3004
  {
3005
3005
  byteSize: 11206,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.23.21",
4
+ "version": "1.23.23",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",