tm-grammars 1.19.2 → 1.19.4

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
@@ -81,7 +81,7 @@ import { grammars } from 'tm-grammars'
81
81
  | `fortran-free-form` | `f90` `f95` `f03` `f08` `f18` | [fortran-lang/vscode-fortran-support](https://github.com/fortran-lang/vscode-fortran-support/blob/f7fb41579770a0d8c75b9f295d167b31147b4f33/syntaxes/fortran_free-form.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fortran-lang/vscode-fortran-support/main/LICENSE) | | 92.70 kB |
82
82
  | `fsharp` | `f#` `fs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/fsharp/syntaxes/fsharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `markdown` | 23.97 kB |
83
83
  | `gdresource` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDResource.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | `gdshader` `gdscript` | 4.87 kB |
84
- | `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/c33982d38e6a1aa454ff5a25019d73ab11e9ccb0/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 17.79 kB |
84
+ | `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/f648c37353587d0e6a875eaa69a131d7bcf0d512/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 17.88 kB |
85
85
  | `gdshader` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDShader.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 5.94 kB |
86
86
  | `genie` | | [vala-lang/vala-vscode](https://github.com/vala-lang/vala-vscode/blob/8f825e95648326df2572d0522632251cdff4a43b/syntaxes/genie.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/vala-lang/vala-vscode/master/LICENSE) | | 3.11 kB |
87
87
  | `gherkin` | | [alexkrechik/VSCucumberAutoComplete](https://github.com/alexkrechik/VSCucumberAutoComplete/blob/fbb554addf81e8961b58b1577924af10fecf9694/syntaxes/feature.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/alexkrechik/VSCucumberAutoComplete/master/LICENSE) | | 12.13 kB |
@@ -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/6294dbce9706f538a521e7dccce9609e928dc3be/syntaxes/mdc.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nuxtlabs/vscode-mdc/main/LICENSE) | `markdown` `yaml` `html-derivative` | 18.85 kB |
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/dee10cf6fae2f15c68e3caa8c2c08092c4a517f4/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.38 kB |
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 |
@@ -253,7 +253,7 @@
253
253
  ]
254
254
  },
255
255
  "builtin_get_node_shorthand_quoted": {
256
- "begin": "(?:(\\$)|(&|\\^|@))(\"|')",
256
+ "begin": "(?:(\\$|%)|(&|\\^|@))(\"|')",
257
257
  "beginCaptures": {
258
258
  "1": {
259
259
  "name": "keyword.control.flow.gdscript"
@@ -513,17 +513,10 @@
513
513
  "name": "entity.name.function.gdscript"
514
514
  }
515
515
  },
516
- "end": "(:|(?=[#'\"\\n]))",
517
- "end2": "(\\s*(\\-\\>)\\s*(void\\w*)|([a-zA-Z_]\\w*)\\s*\\:)",
518
- "endCaptures2": {
516
+ "end": "(:)",
517
+ "endCaptures": {
519
518
  "1": {
520
- "name": "punctuation.separator.annotation.result.gdscript"
521
- },
522
- "2": {
523
- "name": "keyword.language.void.gdscript"
524
- },
525
- "3": {
526
- "name": "entity.name.type.class.gdscript markup.italic"
519
+ "name": "punctuation.section.function.begin.gdscript"
527
520
  }
528
521
  },
529
522
  "name": "meta.function.gdscript",
@@ -803,6 +796,15 @@
803
796
  "match": "[-]?(\\d[0-9_]*e[\\-+]?\\[0-9_])",
804
797
  "name": "constant.numeric.float.gdscript"
805
798
  },
799
+ {
800
+ "captures": {
801
+ "1": {
802
+ "name": "storage.type.imaginary.number.gdscript"
803
+ }
804
+ },
805
+ "match": "(?<!\\w)(?:(?:\\.\\d(?:_?\\d)*|\\d(?:_?\\d)*\\.\\d(?:_?\\d)*|\\d(?:_?\\d)*\\.)(?:[eE][+-]?\\d(?:_?\\d)*)?|\\d(?:_?\\d)*(?:[eE][+-]?\\d(?:_?\\d)*))([jJ])?\\b",
806
+ "name": "constant.numeric.float.gdscript"
807
+ },
806
808
  {
807
809
  "match": "[-]?\\d[0-9_]*",
808
810
  "name": "constant.numeric.integer.gdscript"
package/grammars/mdc.json CHANGED
@@ -192,7 +192,27 @@
192
192
  "match": "(^|\\G)\\s*([:]{2,})$"
193
193
  },
194
194
  {
195
- "include": "#content"
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
  {
@@ -438,26 +438,27 @@
438
438
  "include": "$self"
439
439
  },
440
440
  {
441
- "begin": "^\\s*(\\|-)\\s*",
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
- "match": "\\|.*",
458
- "name": "invalid.illegal.bad-table-context.wikitext"
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": "text.html.basic#attribute"
498
+ "include": "$self"
498
499
  },
499
500
  {
500
- "include": "$self"
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
@@ -1010,16 +1010,16 @@ export const grammars = [
1010
1010
  source: 'https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDResource.tmLanguage.json',
1011
1011
  },
1012
1012
  {
1013
- byteSize: 18215,
1013
+ byteSize: 18306,
1014
1014
  displayName: 'GDScript',
1015
- hash: 'kpS05e7WIz',
1016
- lastUpdate: '2024-10-21T13:03:45Z',
1015
+ hash: 'BJIZ04ZDtC',
1016
+ lastUpdate: '2024-11-18T16:16:16Z',
1017
1017
  license: 'MIT',
1018
1018
  licenseUrl: 'https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE',
1019
1019
  name: 'gdscript',
1020
1020
  scopeName: 'source.gdscript',
1021
- sha: 'c33982d38e6a1aa454ff5a25019d73ab11e9ccb0',
1022
- source: 'https://github.com/godotengine/godot-vscode-plugin/blob/c33982d38e6a1aa454ff5a25019d73ab11e9ccb0/syntaxes/GDScript.tmLanguage.json',
1021
+ sha: 'f648c37353587d0e6a875eaa69a131d7bcf0d512',
1022
+ source: 'https://github.com/godotengine/godot-vscode-plugin/blob/f648c37353587d0e6a875eaa69a131d7bcf0d512/syntaxes/GDScript.tmLanguage.json',
1023
1023
  },
1024
1024
  {
1025
1025
  byteSize: 6082,
@@ -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: 19298,
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: 'YyXgUS9Tnz',
2016
- lastUpdate: '2023-09-01T11:16:46Z',
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: '6294dbce9706f538a521e7dccce9609e928dc3be',
2022
- source: 'https://github.com/nuxtlabs/vscode-mdc/blob/6294dbce9706f538a521e7dccce9609e928dc3be/syntaxes/mdc.tmLanguage.json',
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: 54662,
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: 'rucrLiVoGK',
3575
- lastUpdate: '2023-07-28T05:20:56Z',
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: 'dee10cf6fae2f15c68e3caa8c2c08092c4a517f4',
3581
- source: 'https://github.com/Frederisk/Wikitext-VSCode-Extension/blob/dee10cf6fae2f15c68e3caa8c2c08092c4a517f4/syntaxes/wikitext.tmLanguage.yaml',
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: [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.19.2",
4
+ "version": "1.19.4",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",