tm-grammars 1.19.2 → 1.19.3
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/mdc.json +21 -31
- package/grammars/wikitext.json +33 -19
- package/index.js +10 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -136,7 +136,7 @@ import { grammars } from 'tm-grammars'
|
|
|
136
136
|
| `markdown` | `md` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/1cd7cf5decbe06cb42efdb03c44d19e4f9b2ba58/extensions/markdown-basics/syntaxes/markdown.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `css` `html` `ini` `java` `lua` `make` `perl` `r` `ruby` `php` `sql` `vb` `xml` `xsl` `yaml` `bat` `clojure` `coffee` `c` `cpp` `diff` `docker` `git-commit` `git-rebase` `go` `groovy` `pug` `javascript` `json` `jsonc` `less` `objective-c` `swift` `scss` `raku` `powershell` `python` `julia` `regexp` `rust` `scala` `shellscript` `typescript` `tsx` `csharp` `fsharp` `dart` `handlebars` `log` `erlang` `elixir` `latex` `bibtex` `html-derivative` | 52.56 kB |
|
|
137
137
|
| `marko` | | [marko-js/marko-tmbundle](https://github.com/marko-js/marko-tmbundle/blob/dd3a0c39e656bedd276d3bcbdea92a2d627755c7/Syntaxes/marko.tmLanguage) | [MIT](https://raw.githubusercontent.com/marko-js/marko-tmbundle/master/LICENSE) | `css` `less` `scss` `javascript` | 18.28 kB |
|
|
138
138
|
| `matlab` | | [mathworks/MATLAB-Language-grammar](https://github.com/mathworks/MATLAB-Language-grammar/blob/69dbf20c1eb19efd629c0438a2a493e60617e8de/Matlab.tmbundle/Syntaxes/MATLAB.tmLanguage) | | | 18.56 kB |
|
|
139
|
-
| `mdc` | | [nuxtlabs/vscode-mdc](https://github.com/nuxtlabs/vscode-mdc/blob/
|
|
139
|
+
| `mdc` | | [nuxtlabs/vscode-mdc](https://github.com/nuxtlabs/vscode-mdc/blob/45d4f426aa51b8d6a6b2e719ed2bc8f617bd3919/syntaxes/mdc.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nuxtlabs/vscode-mdc/main/LICENSE) | `markdown` `yaml` `html-derivative` | 18.69 kB |
|
|
140
140
|
| `mdx` | | [wooorm/markdown-tm-language](https://github.com/wooorm/markdown-tm-language/blob/c78b1e5df644d24fa76716bbe26f4b48a6fc1610/source.mdx.tmLanguage) | [MIT](https://raw.githubusercontent.com/wooorm/markdown-tm-language/main/license) | `tsx` `toml` `yaml` `c` `clojure` `coffee` `cpp` `csharp` `css` `diff` `docker` `elixir` `elm` `erlang` `go` `graphql` `haskell` `html` `ini` `java` `javascript` `json` `julia` `kotlin` `less` `lua` `make` `markdown` `objective-c` `perl` `python` `r` `ruby` `rust` `scala` `scss` `shellscript` `shellsession` `sql` `xml` `swift` `typescript` | 130.88 kB |
|
|
141
141
|
| `mermaid` | `mmd` | [bpruitt-goddard/vscode-mermaid-syntax-highlight](https://github.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/blob/8b62f487cb7a89afcd152febfbf47f5d4787657f/syntaxes/mermaid.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/master/LICENSE) | | 27.89 kB |
|
|
142
142
|
| `mipsasm` | `mips` | [textmate/mips.tmbundle](https://github.com/textmate/mips.tmbundle/blob/eb7601016a109bf912a48a1c21988f3c4a59fb3a/Syntaxes/MIPS.tmLanguage) | | | 3.04 kB |
|
|
@@ -227,7 +227,7 @@ import { grammars } from 'tm-grammars'
|
|
|
227
227
|
| `wasm` | | [wasmerio/vscode-wasm](https://github.com/wasmerio/vscode-wasm/blob/9d0ace1ff113f4a3e95797675039cd94ec257078/syntaxes/wat.json) | [MIT](https://raw.githubusercontent.com/wasmerio/vscode-wasm/master/LICENSE) | | 15.02 kB |
|
|
228
228
|
| `wenyan` | `文言` | [wenyan-lang/highlight](https://github.com/wenyan-lang/highlight/blob/5100e8a803978b4f5b009adac035d1f27f591760/wenyan.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/wenyan-lang/highlight/master/LICENSE) | | 2.07 kB |
|
|
229
229
|
| `wgsl` | | [PolyMeilex/vscode-wgsl](https://github.com/PolyMeilex/vscode-wgsl/blob/04222c48533ca541d6dc97043ea096471517e079/syntaxes/wgsl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/PolyMeilex/vscode-wgsl/master/LICENSE) | | 6.10 kB |
|
|
230
|
-
| `wikitext` | `mediawiki` `wiki` | [Frederisk/Wikitext-VSCode-Extension](https://github.com/Frederisk/Wikitext-VSCode-Extension/blob/
|
|
230
|
+
| `wikitext` | `mediawiki` `wiki` | [Frederisk/Wikitext-VSCode-Extension](https://github.com/Frederisk/Wikitext-VSCode-Extension/blob/c6967c5ac4abe9ad069ea3b376621c2ef431392e/syntaxes/wikitext.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/Frederisk/Wikitext-VSCode-Extension/master/LICENSE.txt) | `html` `css` `ini` `java` `lua` `make` `perl` `r` `ruby` `php` `sql` `vb` `xml` `xsl` `yaml` `bat` `clojure` `coffee` `c` `cpp` `diff` `docker` `go` `groovy` `pug` `javascript` `jsonc` `less` `objective-c` `swift` `scss` `raku` `powershell` `python` `julia` `rust` `scala` `shellscript` `typescript` `csharp` `fsharp` `dart` `handlebars` `markdown` `erlang` `elixir` `latex` `bibtex` `json` | 53.54 kB |
|
|
231
231
|
| `wolfram` | `wl` | [WolframResearch/vscode-wolfram](https://github.com/WolframResearch/vscode-wolfram/blob/8b55fb1724d971a303120b3f5b981d654c308c59/syntaxes/wolfram.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/WolframResearch/vscode-wolfram/master/LICENSE) | | 260.32 kB |
|
|
232
232
|
| `xml` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/10a1d2a50a2882f5ae85bdb51eb04d3064fb9de9/extensions/xml/syntaxes/xml.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `java` | 5.11 kB |
|
|
233
233
|
| `xsl` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/xml/syntaxes/xsl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `xml` | 1.20 kB |
|
package/grammars/mdc.json
CHANGED
|
@@ -192,7 +192,27 @@
|
|
|
192
192
|
"match": "(^|\\G)\\s*([:]{2,})$"
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
|
-
"
|
|
195
|
+
"begin": "(^|\\G)(\\s*)(-{3})(\\s*)$",
|
|
196
|
+
"end": "(^|\\G)(\\s*(-{3})(\\s*)$)",
|
|
197
|
+
"patterns": [
|
|
198
|
+
{
|
|
199
|
+
"include": "source.yaml"
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"captures": {
|
|
205
|
+
"2": {
|
|
206
|
+
"name": "entity.other.attribute-name.html"
|
|
207
|
+
},
|
|
208
|
+
"3": {
|
|
209
|
+
"name": "comment.block.html"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"match": "^(\\s*)(#[\\w\\-_]*)\\s*(<!--(.*)-->)?$"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"include": "#block"
|
|
196
216
|
}
|
|
197
217
|
]
|
|
198
218
|
},
|
|
@@ -236,36 +256,6 @@
|
|
|
236
256
|
"match": "(^|\\G|\\s+)(:)(?i:(\\w[\\w\\d-]*))(({[^}]*})(\\[[^\\]]*\\])?|(\\[[^\\]]*\\])({[^}]*})?)?\\s",
|
|
237
257
|
"name": "inline.component.mdc"
|
|
238
258
|
},
|
|
239
|
-
"content": {
|
|
240
|
-
"begin": "(^|\\G)(\\s*)(.*)",
|
|
241
|
-
"contentName": "meta.embedded.block.mdc",
|
|
242
|
-
"patterns": [
|
|
243
|
-
{
|
|
244
|
-
"begin": "(^|\\G)(\\s*)(-{3})(\\s*)$",
|
|
245
|
-
"end": "(^|\\G)(\\s*(-{3})(\\s*)$)",
|
|
246
|
-
"patterns": [
|
|
247
|
-
{
|
|
248
|
-
"include": "source.yaml"
|
|
249
|
-
}
|
|
250
|
-
]
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"captures": {
|
|
254
|
-
"2": {
|
|
255
|
-
"name": "entity.other.attribute-name.html"
|
|
256
|
-
},
|
|
257
|
-
"3": {
|
|
258
|
-
"name": "comment.block.html"
|
|
259
|
-
}
|
|
260
|
-
},
|
|
261
|
-
"match": "^(\\s*)(#[\\w\\-_]*)\\s*(<!--(.*)-->)?$"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"include": "#block"
|
|
265
|
-
}
|
|
266
|
-
],
|
|
267
|
-
"while": "(^|\\G)(?!\\s*([:]{2,})\\s*$)"
|
|
268
|
-
},
|
|
269
259
|
"entities": {
|
|
270
260
|
"patterns": [
|
|
271
261
|
{
|
package/grammars/wikitext.json
CHANGED
|
@@ -438,26 +438,27 @@
|
|
|
438
438
|
"include": "$self"
|
|
439
439
|
},
|
|
440
440
|
{
|
|
441
|
-
"
|
|
442
|
-
"beginCaptures": {
|
|
441
|
+
"captures": {
|
|
443
442
|
"1": {
|
|
444
443
|
"name": "punctuation.definition.tag.begin.wikitext"
|
|
445
|
-
}
|
|
446
|
-
},
|
|
447
|
-
"end": "$",
|
|
448
|
-
"name": "meta.tag.block.table-row.wikitext",
|
|
449
|
-
"patterns": [
|
|
450
|
-
{
|
|
451
|
-
"include": "$self"
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
"include": "text.html.basic#attribute"
|
|
455
444
|
},
|
|
456
|
-
{
|
|
457
|
-
"
|
|
458
|
-
|
|
445
|
+
"2": {
|
|
446
|
+
"patterns": [
|
|
447
|
+
{
|
|
448
|
+
"include": "$self"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"match": "\\|.*",
|
|
452
|
+
"name": "invalid.illegal.bad-table-context.wikitext"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"include": "text.html.basic#attribute"
|
|
456
|
+
}
|
|
457
|
+
]
|
|
459
458
|
}
|
|
460
|
-
|
|
459
|
+
},
|
|
460
|
+
"match": "^\\s*(\\|-)\\s*(.*)$",
|
|
461
|
+
"name": "meta.tag.block.table-row.wikitext"
|
|
461
462
|
},
|
|
462
463
|
{
|
|
463
464
|
"begin": "^\\s*(!)(([^\\[]*?)(\\|))?(.*?)(?=(!!)|$)",
|
|
@@ -494,10 +495,10 @@
|
|
|
494
495
|
"3": {
|
|
495
496
|
"patterns": [
|
|
496
497
|
{
|
|
497
|
-
"include": "
|
|
498
|
+
"include": "$self"
|
|
498
499
|
},
|
|
499
500
|
{
|
|
500
|
-
"include": "
|
|
501
|
+
"include": "text.html.basic#attribute"
|
|
501
502
|
}
|
|
502
503
|
]
|
|
503
504
|
},
|
|
@@ -535,10 +536,23 @@
|
|
|
535
536
|
]
|
|
536
537
|
},
|
|
537
538
|
{
|
|
538
|
-
"begin": "^\\s*(\\|)",
|
|
539
|
+
"begin": "^\\s*(\\|)(([^\\[]*?)((?<!\\|)\\|(?!\\|)))?",
|
|
539
540
|
"beginCaptures": {
|
|
540
541
|
"1": {
|
|
541
542
|
"name": "punctuation.definition.tag.wikitext"
|
|
543
|
+
},
|
|
544
|
+
"3": {
|
|
545
|
+
"patterns": [
|
|
546
|
+
{
|
|
547
|
+
"include": "$self"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"include": "text.html.basic#attribute"
|
|
551
|
+
}
|
|
552
|
+
]
|
|
553
|
+
},
|
|
554
|
+
"4": {
|
|
555
|
+
"name": "punctuation.definition.tag.wikitext"
|
|
542
556
|
}
|
|
543
557
|
},
|
|
544
558
|
"end": "$",
|
package/index.js
CHANGED
|
@@ -2001,7 +2001,7 @@ export const grammars = [
|
|
|
2001
2001
|
source: 'https://github.com/mathworks/MATLAB-Language-grammar/blob/69dbf20c1eb19efd629c0438a2a493e60617e8de/Matlab.tmbundle/Syntaxes/MATLAB.tmLanguage',
|
|
2002
2002
|
},
|
|
2003
2003
|
{
|
|
2004
|
-
byteSize:
|
|
2004
|
+
byteSize: 19142,
|
|
2005
2005
|
categories: [
|
|
2006
2006
|
'web',
|
|
2007
2007
|
'markup',
|
|
@@ -2012,14 +2012,14 @@ export const grammars = [
|
|
|
2012
2012
|
'yaml',
|
|
2013
2013
|
'html-derivative',
|
|
2014
2014
|
],
|
|
2015
|
-
hash: '
|
|
2016
|
-
lastUpdate: '
|
|
2015
|
+
hash: 'uv4ixrWX9v',
|
|
2016
|
+
lastUpdate: '2024-11-14T09:53:35Z',
|
|
2017
2017
|
license: 'MIT',
|
|
2018
2018
|
licenseUrl: 'https://raw.githubusercontent.com/nuxtlabs/vscode-mdc/main/LICENSE',
|
|
2019
2019
|
name: 'mdc',
|
|
2020
2020
|
scopeName: 'text.markdown.mdc',
|
|
2021
|
-
sha: '
|
|
2022
|
-
source: 'https://github.com/nuxtlabs/vscode-mdc/blob/
|
|
2021
|
+
sha: '45d4f426aa51b8d6a6b2e719ed2bc8f617bd3919',
|
|
2022
|
+
source: 'https://github.com/nuxtlabs/vscode-mdc/blob/45d4f426aa51b8d6a6b2e719ed2bc8f617bd3919/syntaxes/mdc.tmLanguage.json',
|
|
2023
2023
|
},
|
|
2024
2024
|
{
|
|
2025
2025
|
byteSize: 134023,
|
|
@@ -3515,7 +3515,7 @@ export const grammars = [
|
|
|
3515
3515
|
'mediawiki',
|
|
3516
3516
|
'wiki',
|
|
3517
3517
|
],
|
|
3518
|
-
byteSize:
|
|
3518
|
+
byteSize: 54821,
|
|
3519
3519
|
categories: [
|
|
3520
3520
|
'markup',
|
|
3521
3521
|
],
|
|
@@ -3571,14 +3571,14 @@ export const grammars = [
|
|
|
3571
3571
|
'bibtex',
|
|
3572
3572
|
'json',
|
|
3573
3573
|
],
|
|
3574
|
-
hash: '
|
|
3575
|
-
lastUpdate: '
|
|
3574
|
+
hash: '5e9ZYQBQec',
|
|
3575
|
+
lastUpdate: '2024-11-14T01:22:10Z',
|
|
3576
3576
|
license: 'MIT',
|
|
3577
3577
|
licenseUrl: 'https://raw.githubusercontent.com/Frederisk/Wikitext-VSCode-Extension/master/LICENSE.txt',
|
|
3578
3578
|
name: 'wikitext',
|
|
3579
3579
|
scopeName: 'source.wikitext',
|
|
3580
|
-
sha: '
|
|
3581
|
-
source: 'https://github.com/Frederisk/Wikitext-VSCode-Extension/blob/
|
|
3580
|
+
sha: 'c6967c5ac4abe9ad069ea3b376621c2ef431392e',
|
|
3581
|
+
source: 'https://github.com/Frederisk/Wikitext-VSCode-Extension/blob/c6967c5ac4abe9ad069ea3b376621c2ef431392e/syntaxes/wikitext.tmLanguage.yaml',
|
|
3582
3582
|
},
|
|
3583
3583
|
{
|
|
3584
3584
|
aliases: [
|