diff --git a/packages/tm-grammars/README.md b/packages/tm-grammars/README.md index 6f56f4c..8958bd3 100644 --- a/packages/tm-grammars/README.md +++ b/packages/tm-grammars/README.md @@ -133,7 +133,7 @@ import { grammars } from 'tm-grammars' | `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.31 kB | | `matlab` | | [mathworks/MATLAB-Language-grammar](https://github.com/mathworks/MATLAB-Language-grammar/blob/69dbf20c1eb19efd629c0438a2a493e60617e8de/Matlab.tmbundle/Syntaxes/MATLAB.tmLanguage) | | | 19.38 kB | | `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` | 19.05 kB | -| `mdx` | | [wooorm/markdown-tm-language](https://github.com/wooorm/markdown-tm-language/blob/371d61df9ddc3850e12aabe61b602d02e259e8a4/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` | 120.76 kB | +| `mdx` | | [wooorm/markdown-tm-language](https://github.com/wooorm/markdown-tm-language/blob/3f11836d11ca5ed41431ecd53dca7710c2c823ce/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` | 129.74 kB | | `mermaid` | | [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.99 kB | | `mojo` | | [modularml/mojo-syntax](https://github.com/modularml/mojo-syntax/blob/46eccdaeda2b1587e9b82808cdb35670f359d16d/syntaxes/mojo.syntax.json) | [MIT](https://raw.githubusercontent.com/modularml/mojo-syntax/main/LICENSE) | | 72.91 kB | | `move` | | [damirka/move-syntax](https://github.com/damirka/move-syntax/blob/4a9b54dbbebf6156ae987d4b9710191dd5952a7d/syntaxes/move.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/damirka/move-syntax/main/LICENSE) | | 18.46 kB | @@ -237,7 +237,7 @@ Injections are grammars that are embedded in other grammars. They are used to ag | ---- | ----- | ------ | ------- | ------- | --------- | | `angular-expression` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/d7dab52644375e64af3deaeac045cc75f5954414/syntaxes/expression.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | | 12.69 kB | | `angular-inline-style` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/f0422f5f571f79a904510944452f06fb36beff22/syntaxes/inline-styles.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `scss` | 1.17 kB | -| `angular-inline-template` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/888875fef753416c464d1433f05caf8d53c9dd10/syntaxes/inline-template.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-html` `angular-template` `angular-template-blocks` | 1.02 kB | +| `angular-inline-template` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/f4a258cf7e3a4290fbcf36506e7b65743ec6599f/syntaxes/inline-template.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-html` `angular-template` `angular-template-blocks` | 1.01 kB | | `angular-template` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/28739e438742bee69faceda5fd15445682451397/syntaxes/template.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-expression` | 471.00 B | | `angular-template-blocks` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/dceedb686d45f19a65a50398be3dbce2526e7d11/syntaxes/template-blocks.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | `angular-expression` `angular-template` | 1.18 kB | | `cpp-macro` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/cpp/syntaxes/cpp.embedded.macro.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `regexp` `glsl` `sql` | 230.05 kB | diff --git a/packages/tm-grammars/grammars/angular-inline-template.json b/packages/tm-grammars/grammars/angular-inline-template.json index 7a8eb59..e8c149b 100644 --- a/packages/tm-grammars/grammars/angular-inline-template.json +++ b/packages/tm-grammars/grammars/angular-inline-template.json @@ -37,7 +37,7 @@ "name": "string" } }, - "contentName": "text.html", + "contentName": "text.html.derivative.ng", "end": "\\1", "endCaptures": { "0": { @@ -54,9 +54,6 @@ { "include": "template.blocks.ng" }, - { - "include": "template.tag.ng" - }, { "include": "template.let.ng" } diff --git a/packages/tm-grammars/grammars/mdx.json b/packages/tm-grammars/grammars/mdx.json index 7841073..9eec44b 100644 --- a/packages/tm-grammars/grammars/mdx.json +++ b/packages/tm-grammars/grammars/mdx.json @@ -307,7 +307,6 @@ ] } }, - "contentName": "meta.embedded.apib", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -317,7 +316,14 @@ "name": "markup.code.apib.mdx", "patterns": [ { - "include": "text.html.markdown.source.gfm.apib" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.apib", + "patterns": [ + { + "include": "text.html.markdown.source.gfm.apib" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -343,7 +349,6 @@ ] } }, - "contentName": "meta.embedded.apib", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -353,7 +358,14 @@ "name": "markup.code.apib.mdx", "patterns": [ { - "include": "text.html.markdown.source.gfm.apib" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.apib", + "patterns": [ + { + "include": "text.html.markdown.source.gfm.apib" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -383,7 +395,6 @@ ] } }, - "contentName": "meta.embedded.asciidoc", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -393,7 +404,14 @@ "name": "markup.code.asciidoc.mdx", "patterns": [ { - "include": "text.html.asciidoc" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.asciidoc", + "patterns": [ + { + "include": "text.html.asciidoc" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -419,7 +437,6 @@ ] } }, - "contentName": "meta.embedded.asciidoc", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -429,7 +446,14 @@ "name": "markup.code.asciidoc.mdx", "patterns": [ { - "include": "text.html.asciidoc" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.asciidoc", + "patterns": [ + { + "include": "text.html.asciidoc" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -459,7 +483,6 @@ ] } }, - "contentName": "meta.embedded.c", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -469,7 +492,14 @@ "name": "markup.code.c.mdx", "patterns": [ { - "include": "source.c" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.c", + "patterns": [ + { + "include": "source.c" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -495,7 +525,6 @@ ] } }, - "contentName": "meta.embedded.c", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -505,7 +534,14 @@ "name": "markup.code.c.mdx", "patterns": [ { - "include": "source.c" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.c", + "patterns": [ + { + "include": "source.c" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -535,7 +571,6 @@ ] } }, - "contentName": "meta.embedded.clojure", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -545,7 +580,14 @@ "name": "markup.code.clojure.mdx", "patterns": [ { - "include": "source.clojure" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.clojure", + "patterns": [ + { + "include": "source.clojure" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -571,7 +613,6 @@ ] } }, - "contentName": "meta.embedded.clojure", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -581,7 +622,14 @@ "name": "markup.code.clojure.mdx", "patterns": [ { - "include": "source.clojure" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.clojure", + "patterns": [ + { + "include": "source.clojure" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -611,7 +659,6 @@ ] } }, - "contentName": "meta.embedded.coffee", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -621,7 +668,14 @@ "name": "markup.code.coffee.mdx", "patterns": [ { - "include": "source.coffee" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.coffee", + "patterns": [ + { + "include": "source.coffee" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -647,7 +701,6 @@ ] } }, - "contentName": "meta.embedded.coffee", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -657,7 +710,14 @@ "name": "markup.code.coffee.mdx", "patterns": [ { - "include": "source.coffee" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.coffee", + "patterns": [ + { + "include": "source.coffee" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -687,7 +747,6 @@ ] } }, - "contentName": "meta.embedded.console", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -697,7 +756,14 @@ "name": "markup.code.console.mdx", "patterns": [ { - "include": "text.python.console" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.console", + "patterns": [ + { + "include": "text.python.console" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -723,7 +789,6 @@ ] } }, - "contentName": "meta.embedded.console", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -733,7 +798,14 @@ "name": "markup.code.console.mdx", "patterns": [ { - "include": "text.python.console" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.console", + "patterns": [ + { + "include": "text.python.console" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -763,7 +835,6 @@ ] } }, - "contentName": "meta.embedded.cpp", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -773,10 +844,17 @@ "name": "markup.code.cpp.mdx", "patterns": [ { - "include": "source.c++" - }, - { - "include": "source.cpp" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.cpp", + "patterns": [ + { + "include": "source.c++" + }, + { + "include": "source.cpp" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -802,7 +880,6 @@ ] } }, - "contentName": "meta.embedded.cpp", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -812,10 +889,17 @@ "name": "markup.code.cpp.mdx", "patterns": [ { - "include": "source.c++" - }, - { - "include": "source.cpp" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.cpp", + "patterns": [ + { + "include": "source.c++" + }, + { + "include": "source.cpp" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -824,7 +908,7 @@ "commonmark-code-fenced-cs": { "patterns": [ { - "begin": "(?:^|\\G)[\\t ]*(`{3,})(?:[\\t ]*((?i:beef|c#|cakescript|csharp|(?:.*\\.)?(?:bf|cake|cs|csx|eq|linq|uno)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)", + "begin": "(?:^|\\G)[\\t ]*(`{3,})(?:[\\t ]*((?i:beef|c#|cakescript|csharp|(?:.*\\.)?(?:bf|cake|cs|cs\\.pp|csx|eq|linq|uno)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)", "beginCaptures": { "1": { "name": "string.other.begin.code.fenced.mdx" @@ -845,7 +929,6 @@ ] } }, - "contentName": "meta.embedded.cs", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -855,12 +938,19 @@ "name": "markup.code.cs.mdx", "patterns": [ { - "include": "source.cs" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.cs", + "patterns": [ + { + "include": "source.cs" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, { - "begin": "(?:^|\\G)[\\t ]*(~{3,})(?:[\\t ]*((?i:beef|c#|cakescript|csharp|(?:.*\\.)?(?:bf|cake|cs|csx|eq|linq|uno)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)", + "begin": "(?:^|\\G)[\\t ]*(~{3,})(?:[\\t ]*((?i:beef|c#|cakescript|csharp|(?:.*\\.)?(?:bf|cake|cs|cs\\.pp|csx|eq|linq|uno)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)", "beginCaptures": { "1": { "name": "string.other.begin.code.fenced.mdx" @@ -881,7 +971,6 @@ ] } }, - "contentName": "meta.embedded.cs", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -891,7 +980,14 @@ "name": "markup.code.cs.mdx", "patterns": [ { - "include": "source.cs" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.cs", + "patterns": [ + { + "include": "source.cs" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -921,7 +1017,6 @@ ] } }, - "contentName": "meta.embedded.css", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -931,7 +1026,14 @@ "name": "markup.code.css.mdx", "patterns": [ { - "include": "source.css" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.css", + "patterns": [ + { + "include": "source.css" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -957,7 +1059,6 @@ ] } }, - "contentName": "meta.embedded.css", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -967,7 +1068,14 @@ "name": "markup.code.css.mdx", "patterns": [ { - "include": "source.css" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.css", + "patterns": [ + { + "include": "source.css" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -997,7 +1105,6 @@ ] } }, - "contentName": "meta.embedded.diff", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1007,7 +1114,14 @@ "name": "markup.code.diff.mdx", "patterns": [ { - "include": "source.diff" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.diff", + "patterns": [ + { + "include": "source.diff" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -1033,7 +1147,6 @@ ] } }, - "contentName": "meta.embedded.diff", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1043,7 +1156,14 @@ "name": "markup.code.diff.mdx", "patterns": [ { - "include": "source.diff" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.diff", + "patterns": [ + { + "include": "source.diff" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -1073,7 +1193,6 @@ ] } }, - "contentName": "meta.embedded.dockerfile", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1083,7 +1202,14 @@ "name": "markup.code.dockerfile.mdx", "patterns": [ { - "include": "source.dockerfile" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.dockerfile", + "patterns": [ + { + "include": "source.dockerfile" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -1109,7 +1235,6 @@ ] } }, - "contentName": "meta.embedded.dockerfile", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1119,7 +1244,14 @@ "name": "markup.code.dockerfile.mdx", "patterns": [ { - "include": "source.dockerfile" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.dockerfile", + "patterns": [ + { + "include": "source.dockerfile" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -1149,7 +1281,6 @@ ] } }, - "contentName": "meta.embedded.elixir", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1159,7 +1290,14 @@ "name": "markup.code.elixir.mdx", "patterns": [ { - "include": "source.elixir" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.elixir", + "patterns": [ + { + "include": "source.elixir" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -1185,7 +1323,6 @@ ] } }, - "contentName": "meta.embedded.elixir", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1195,7 +1332,14 @@ "name": "markup.code.elixir.mdx", "patterns": [ { - "include": "source.elixir" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.elixir", + "patterns": [ + { + "include": "source.elixir" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -1225,7 +1369,6 @@ ] } }, - "contentName": "meta.embedded.elm", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1235,7 +1378,14 @@ "name": "markup.code.elm.mdx", "patterns": [ { - "include": "source.elm" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.elm", + "patterns": [ + { + "include": "source.elm" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -1261,7 +1411,6 @@ ] } }, - "contentName": "meta.embedded.elm", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1271,7 +1420,14 @@ "name": "markup.code.elm.mdx", "patterns": [ { - "include": "source.elm" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.elm", + "patterns": [ + { + "include": "source.elm" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -1301,7 +1457,6 @@ ] } }, - "contentName": "meta.embedded.erlang", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1311,7 +1466,14 @@ "name": "markup.code.erlang.mdx", "patterns": [ { - "include": "source.erlang" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.erlang", + "patterns": [ + { + "include": "source.erlang" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -1337,7 +1499,6 @@ ] } }, - "contentName": "meta.embedded.erlang", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1347,7 +1508,14 @@ "name": "markup.code.erlang.mdx", "patterns": [ { - "include": "source.erlang" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.erlang", + "patterns": [ + { + "include": "source.erlang" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -1377,7 +1545,6 @@ ] } }, - "contentName": "meta.embedded.gitconfig", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1387,7 +1554,14 @@ "name": "markup.code.gitconfig.mdx", "patterns": [ { - "include": "source.gitconfig" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.gitconfig", + "patterns": [ + { + "include": "source.gitconfig" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -1413,7 +1587,6 @@ ] } }, - "contentName": "meta.embedded.gitconfig", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1423,7 +1596,14 @@ "name": "markup.code.gitconfig.mdx", "patterns": [ { - "include": "source.gitconfig" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.gitconfig", + "patterns": [ + { + "include": "source.gitconfig" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -1453,7 +1633,6 @@ ] } }, - "contentName": "meta.embedded.go", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1463,7 +1642,14 @@ "name": "markup.code.go.mdx", "patterns": [ { - "include": "source.go" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.go", + "patterns": [ + { + "include": "source.go" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -1489,7 +1675,6 @@ ] } }, - "contentName": "meta.embedded.go", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1499,7 +1684,14 @@ "name": "markup.code.go.mdx", "patterns": [ { - "include": "source.go" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.go", + "patterns": [ + { + "include": "source.go" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -1529,7 +1721,6 @@ ] } }, - "contentName": "meta.embedded.graphql", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1539,7 +1730,14 @@ "name": "markup.code.graphql.mdx", "patterns": [ { - "include": "source.graphql" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.graphql", + "patterns": [ + { + "include": "source.graphql" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -1565,7 +1763,6 @@ ] } }, - "contentName": "meta.embedded.graphql", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1575,7 +1772,14 @@ "name": "markup.code.graphql.mdx", "patterns": [ { - "include": "source.graphql" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.graphql", + "patterns": [ + { + "include": "source.graphql" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -1584,7 +1788,7 @@ "commonmark-code-fenced-haskell": { "patterns": [ { - "begin": "(?:^|\\G)[\\t ]*(`{3,})(?:[\\t ]*((?i:bh|bluespec\\x2dbh|bluespec\\x2dclassic|c2hs|c2hs\\x2dhaskell|frege|haskell|(?:.*\\.)?(?:chs|dhall|hs|hs\\x2dboot|hsc)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)", + "begin": "(?:^|\\G)[\\t ]*(`{3,})(?:[\\t ]*((?i:c2hs|c2hs\\x2dhaskell|frege|haskell|(?:.*\\.)?(?:chs|dhall|hs|hs\\x2dboot|hsc)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)", "beginCaptures": { "1": { "name": "string.other.begin.code.fenced.mdx" @@ -1605,7 +1809,6 @@ ] } }, - "contentName": "meta.embedded.haskell", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1615,12 +1818,19 @@ "name": "markup.code.haskell.mdx", "patterns": [ { - "include": "source.haskell" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.haskell", + "patterns": [ + { + "include": "source.haskell" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, { - "begin": "(?:^|\\G)[\\t ]*(~{3,})(?:[\\t ]*((?i:bh|bluespec\\x2dbh|bluespec\\x2dclassic|c2hs|c2hs\\x2dhaskell|frege|haskell|(?:.*\\.)?(?:chs|dhall|hs|hs\\x2dboot|hsc)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)", + "begin": "(?:^|\\G)[\\t ]*(~{3,})(?:[\\t ]*((?i:c2hs|c2hs\\x2dhaskell|frege|haskell|(?:.*\\.)?(?:chs|dhall|hs|hs\\x2dboot|hsc)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)", "beginCaptures": { "1": { "name": "string.other.begin.code.fenced.mdx" @@ -1641,7 +1851,6 @@ ] } }, - "contentName": "meta.embedded.haskell", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1651,7 +1860,14 @@ "name": "markup.code.haskell.mdx", "patterns": [ { - "include": "source.haskell" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.haskell", + "patterns": [ + { + "include": "source.haskell" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -1681,7 +1897,6 @@ ] } }, - "contentName": "meta.embedded.html", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1691,7 +1906,14 @@ "name": "markup.code.html.mdx", "patterns": [ { - "include": "text.html.basic" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.html", + "patterns": [ + { + "include": "text.html.basic" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -1717,7 +1939,6 @@ ] } }, - "contentName": "meta.embedded.html", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1727,7 +1948,14 @@ "name": "markup.code.html.mdx", "patterns": [ { - "include": "text.html.basic" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.html", + "patterns": [ + { + "include": "text.html.basic" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -1757,7 +1985,6 @@ ] } }, - "contentName": "meta.embedded.ini", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1767,7 +1994,14 @@ "name": "markup.code.ini.mdx", "patterns": [ { - "include": "source.ini" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.ini", + "patterns": [ + { + "include": "source.ini" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -1793,7 +2027,6 @@ ] } }, - "contentName": "meta.embedded.ini", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1803,7 +2036,14 @@ "name": "markup.code.ini.mdx", "patterns": [ { - "include": "source.ini" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.ini", + "patterns": [ + { + "include": "source.ini" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -1833,7 +2073,6 @@ ] } }, - "contentName": "meta.embedded.java", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1843,7 +2082,14 @@ "name": "markup.code.java.mdx", "patterns": [ { - "include": "source.java" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.java", + "patterns": [ + { + "include": "source.java" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -1869,7 +2115,6 @@ ] } }, - "contentName": "meta.embedded.java", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1879,7 +2124,14 @@ "name": "markup.code.java.mdx", "patterns": [ { - "include": "source.java" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.java", + "patterns": [ + { + "include": "source.java" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -1888,7 +2140,7 @@ "commonmark-code-fenced-js": { "patterns": [ { - "begin": "(?:^|\\G)[\\t ]*(`{3,})(?:[\\t ]*((?i:cycript|javascript\\+erb|json\\x2dwith\\x2dcomments|node|qt\\x2dscript|(?:.*\\.)?(?:_js|bones|cjs|code\\x2dsnippets|code\\x2dworkspace|cy|es6|jake|javascript|js|js\\.erb|jsb|jscad|jsfl|jslib|jsm|json5|jsonc|jsonld|jspre|jss|jsx|mjs|njs|pac|sjs|ssjs|sublime\\x2dbuild|sublime\\x2dcommands|sublime\\x2dcompletions|sublime\\x2dkeymap|sublime\\x2dmacro|sublime\\x2dmenu|sublime\\x2dmousemap|sublime\\x2dproject|sublime\\x2dsettings|sublime\\x2dtheme|sublime\\x2dworkspace|sublime_metrics|sublime_session|xsjs|xsjslib)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)", + "begin": "(?:^|\\G)[\\t ]*(`{3,})(?:[\\t ]*((?i:cycript|javascript\\+erb|json\\x2dwith\\x2dcomments|node|qt\\x2dscript|(?:.*\\.)?(?:_js|bones|cjs|code\\x2dsnippets|code\\x2dworkspace|cy|es6|jake|javascript|js|js\\.erb|jsb|jscad|jsfl|jslib|jsm|json5|jsonc|jsonld|jspre|jss|jsx|mjs|njs|pac|sjs|ssjs|sublime\\x2dbuild|sublime\\x2dcolor\\x2dscheme|sublime\\x2dcommands|sublime\\x2dcompletions|sublime\\x2dkeymap|sublime\\x2dmacro|sublime\\x2dmenu|sublime\\x2dmousemap|sublime\\x2dproject|sublime\\x2dsettings|sublime\\x2dtheme|sublime\\x2dworkspace|sublime_metrics|sublime_session|xsjs|xsjslib)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)", "beginCaptures": { "1": { "name": "string.other.begin.code.fenced.mdx" @@ -1909,7 +2161,6 @@ ] } }, - "contentName": "meta.embedded.js", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1919,12 +2170,19 @@ "name": "markup.code.js.mdx", "patterns": [ { - "include": "source.js" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.js", + "patterns": [ + { + "include": "source.js" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, { - "begin": "(?:^|\\G)[\\t ]*(~{3,})(?:[\\t ]*((?i:cycript|javascript\\+erb|json\\x2dwith\\x2dcomments|node|qt\\x2dscript|(?:.*\\.)?(?:_js|bones|cjs|code\\x2dsnippets|code\\x2dworkspace|cy|es6|jake|javascript|js|js\\.erb|jsb|jscad|jsfl|jslib|jsm|json5|jsonc|jsonld|jspre|jss|jsx|mjs|njs|pac|sjs|ssjs|sublime\\x2dbuild|sublime\\x2dcommands|sublime\\x2dcompletions|sublime\\x2dkeymap|sublime\\x2dmacro|sublime\\x2dmenu|sublime\\x2dmousemap|sublime\\x2dproject|sublime\\x2dsettings|sublime\\x2dtheme|sublime\\x2dworkspace|sublime_metrics|sublime_session|xsjs|xsjslib)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)", + "begin": "(?:^|\\G)[\\t ]*(~{3,})(?:[\\t ]*((?i:cycript|javascript\\+erb|json\\x2dwith\\x2dcomments|node|qt\\x2dscript|(?:.*\\.)?(?:_js|bones|cjs|code\\x2dsnippets|code\\x2dworkspace|cy|es6|jake|javascript|js|js\\.erb|jsb|jscad|jsfl|jslib|jsm|json5|jsonc|jsonld|jspre|jss|jsx|mjs|njs|pac|sjs|ssjs|sublime\\x2dbuild|sublime\\x2dcolor\\x2dscheme|sublime\\x2dcommands|sublime\\x2dcompletions|sublime\\x2dkeymap|sublime\\x2dmacro|sublime\\x2dmenu|sublime\\x2dmousemap|sublime\\x2dproject|sublime\\x2dsettings|sublime\\x2dtheme|sublime\\x2dworkspace|sublime_metrics|sublime_session|xsjs|xsjslib)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)", "beginCaptures": { "1": { "name": "string.other.begin.code.fenced.mdx" @@ -1945,7 +2203,6 @@ ] } }, - "contentName": "meta.embedded.js", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1955,7 +2212,14 @@ "name": "markup.code.js.mdx", "patterns": [ { - "include": "source.js" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.js", + "patterns": [ + { + "include": "source.js" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -1964,7 +2228,7 @@ "commonmark-code-fenced-json": { "patterns": [ { - "begin": "(?:^|\\G)[\\t ]*(`{3,})(?:[\\t ]*((?i:ecere\\x2dprojects|ipython\\x2dnotebook|jupyter\\x2dnotebook|max|max/msp|maxmsp|oasv2\\x2djson|oasv3\\x2djson|(?:.*\\.)?(?:4dform|4dproject|avsc|epj|geojson|gltf|har|ice|ipynb|json|json|json|json\\x2dtmlanguage|jsonl|maxhelp|maxpat|maxproj|mcmeta|mxt|pat|tfstate|tfstate\\.backup|topojson|webapp|webmanifest|yy|yyp)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)", + "begin": "(?:^|\\G)[\\t ]*(`{3,})(?:[\\t ]*((?i:ecere\\x2dprojects|ipython\\x2dnotebook|jupyter\\x2dnotebook|max|max/msp|maxmsp|oasv2\\x2djson|oasv3\\x2djson|(?:.*\\.)?(?:4dform|4dproject|avsc|epj|geojson|gltf|har|ice|ipynb|json|json|json|json\\x2dtmlanguage|jsonl|maxhelp|maxpat|maxproj|mcmeta|mxt|pat|sarif|tfstate|tfstate\\.backup|topojson|webapp|webmanifest|yy|yyp)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)", "beginCaptures": { "1": { "name": "string.other.begin.code.fenced.mdx" @@ -1985,7 +2249,6 @@ ] } }, - "contentName": "meta.embedded.json", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -1995,12 +2258,19 @@ "name": "markup.code.json.mdx", "patterns": [ { - "include": "source.json" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.json", + "patterns": [ + { + "include": "source.json" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, { - "begin": "(?:^|\\G)[\\t ]*(~{3,})(?:[\\t ]*((?i:ecere\\x2dprojects|ipython\\x2dnotebook|jupyter\\x2dnotebook|max|max/msp|maxmsp|oasv2\\x2djson|oasv3\\x2djson|(?:.*\\.)?(?:4dform|4dproject|avsc|epj|geojson|gltf|har|ice|ipynb|json|json|json|json\\x2dtmlanguage|jsonl|maxhelp|maxpat|maxproj|mcmeta|mxt|pat|tfstate|tfstate\\.backup|topojson|webapp|webmanifest|yy|yyp)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)", + "begin": "(?:^|\\G)[\\t ]*(~{3,})(?:[\\t ]*((?i:ecere\\x2dprojects|ipython\\x2dnotebook|jupyter\\x2dnotebook|max|max/msp|maxmsp|oasv2\\x2djson|oasv3\\x2djson|(?:.*\\.)?(?:4dform|4dproject|avsc|epj|geojson|gltf|har|ice|ipynb|json|json|json|json\\x2dtmlanguage|jsonl|maxhelp|maxpat|maxproj|mcmeta|mxt|pat|sarif|tfstate|tfstate\\.backup|topojson|webapp|webmanifest|yy|yyp)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)", "beginCaptures": { "1": { "name": "string.other.begin.code.fenced.mdx" @@ -2021,7 +2291,6 @@ ] } }, - "contentName": "meta.embedded.json", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2031,7 +2300,14 @@ "name": "markup.code.json.mdx", "patterns": [ { - "include": "source.json" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.json", + "patterns": [ + { + "include": "source.json" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -2061,7 +2337,6 @@ ] } }, - "contentName": "meta.embedded.julia", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2071,7 +2346,14 @@ "name": "markup.code.julia.mdx", "patterns": [ { - "include": "source.julia" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.julia", + "patterns": [ + { + "include": "source.julia" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -2097,7 +2379,6 @@ ] } }, - "contentName": "meta.embedded.julia", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2107,7 +2388,14 @@ "name": "markup.code.julia.mdx", "patterns": [ { - "include": "source.julia" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.julia", + "patterns": [ + { + "include": "source.julia" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -2137,7 +2425,6 @@ ] } }, - "contentName": "meta.embedded.kotlin", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2147,7 +2434,14 @@ "name": "markup.code.kotlin.mdx", "patterns": [ { - "include": "source.kotlin" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.kotlin", + "patterns": [ + { + "include": "source.kotlin" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -2173,7 +2467,6 @@ ] } }, - "contentName": "meta.embedded.kotlin", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2183,7 +2476,14 @@ "name": "markup.code.kotlin.mdx", "patterns": [ { - "include": "source.kotlin" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.kotlin", + "patterns": [ + { + "include": "source.kotlin" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -2213,7 +2513,6 @@ ] } }, - "contentName": "meta.embedded.less", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2223,7 +2522,14 @@ "name": "markup.code.less.mdx", "patterns": [ { - "include": "source.css.less" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.less", + "patterns": [ + { + "include": "source.css.less" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -2249,7 +2555,6 @@ ] } }, - "contentName": "meta.embedded.less", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2259,7 +2564,14 @@ "name": "markup.code.less.mdx", "patterns": [ { - "include": "source.css.less" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.less", + "patterns": [ + { + "include": "source.css.less" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -2289,7 +2601,6 @@ ] } }, - "contentName": "meta.embedded.lua", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2299,7 +2610,14 @@ "name": "markup.code.lua.mdx", "patterns": [ { - "include": "source.lua" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.lua", + "patterns": [ + { + "include": "source.lua" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -2325,7 +2643,6 @@ ] } }, - "contentName": "meta.embedded.lua", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2335,7 +2652,14 @@ "name": "markup.code.lua.mdx", "patterns": [ { - "include": "source.lua" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.lua", + "patterns": [ + { + "include": "source.lua" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -2365,7 +2689,6 @@ ] } }, - "contentName": "meta.embedded.makefile", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2375,7 +2698,14 @@ "name": "markup.code.makefile.mdx", "patterns": [ { - "include": "source.makefile" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.makefile", + "patterns": [ + { + "include": "source.makefile" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -2401,7 +2731,6 @@ ] } }, - "contentName": "meta.embedded.makefile", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2411,7 +2740,14 @@ "name": "markup.code.makefile.mdx", "patterns": [ { - "include": "source.makefile" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.makefile", + "patterns": [ + { + "include": "source.makefile" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -2441,7 +2777,6 @@ ] } }, - "contentName": "meta.embedded.md", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2451,13 +2786,20 @@ "name": "markup.code.md.mdx", "patterns": [ { - "include": "text.md" - }, - { - "include": "source.gfm" - }, - { - "include": "text.html.markdown" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.md", + "patterns": [ + { + "include": "text.md" + }, + { + "include": "source.gfm" + }, + { + "include": "text.html.markdown" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -2483,7 +2825,6 @@ ] } }, - "contentName": "meta.embedded.md", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2493,13 +2834,20 @@ "name": "markup.code.md.mdx", "patterns": [ { - "include": "text.md" - }, - { - "include": "source.gfm" - }, - { - "include": "text.html.markdown" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.md", + "patterns": [ + { + "include": "text.md" + }, + { + "include": "source.gfm" + }, + { + "include": "text.html.markdown" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -2529,7 +2877,6 @@ ] } }, - "contentName": "meta.embedded.mdx", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2539,7 +2886,14 @@ "name": "markup.code.mdx.mdx", "patterns": [ { - "include": "source.mdx" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.mdx", + "patterns": [ + { + "include": "source.mdx" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -2565,7 +2919,6 @@ ] } }, - "contentName": "meta.embedded.mdx", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2575,7 +2928,14 @@ "name": "markup.code.mdx.mdx", "patterns": [ { - "include": "source.mdx" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.mdx", + "patterns": [ + { + "include": "source.mdx" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -2605,7 +2965,6 @@ ] } }, - "contentName": "meta.embedded.objc", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2615,7 +2974,14 @@ "name": "markup.code.objc.mdx", "patterns": [ { - "include": "source.objc" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.objc", + "patterns": [ + { + "include": "source.objc" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -2641,7 +3007,6 @@ ] } }, - "contentName": "meta.embedded.objc", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2651,7 +3016,14 @@ "name": "markup.code.objc.mdx", "patterns": [ { - "include": "source.objc" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.objc", + "patterns": [ + { + "include": "source.objc" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -2681,7 +3053,6 @@ ] } }, - "contentName": "meta.embedded.perl", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2691,7 +3062,14 @@ "name": "markup.code.perl.mdx", "patterns": [ { - "include": "source.perl" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.perl", + "patterns": [ + { + "include": "source.perl" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -2717,7 +3095,6 @@ ] } }, - "contentName": "meta.embedded.perl", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2727,7 +3104,14 @@ "name": "markup.code.perl.mdx", "patterns": [ { - "include": "source.perl" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.perl", + "patterns": [ + { + "include": "source.perl" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -2757,7 +3141,6 @@ ] } }, - "contentName": "meta.embedded.php", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2767,7 +3150,14 @@ "name": "markup.code.php.mdx", "patterns": [ { - "include": "text.html.php" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.php", + "patterns": [ + { + "include": "text.html.php" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -2793,7 +3183,6 @@ ] } }, - "contentName": "meta.embedded.php", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2803,7 +3192,14 @@ "name": "markup.code.php.mdx", "patterns": [ { - "include": "text.html.php" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.php", + "patterns": [ + { + "include": "text.html.php" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -2833,7 +3229,6 @@ ] } }, - "contentName": "meta.embedded.python", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2843,7 +3238,14 @@ "name": "markup.code.python.mdx", "patterns": [ { - "include": "source.python" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.python", + "patterns": [ + { + "include": "source.python" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -2869,7 +3271,6 @@ ] } }, - "contentName": "meta.embedded.python", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2879,7 +3280,14 @@ "name": "markup.code.python.mdx", "patterns": [ { - "include": "source.python" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.python", + "patterns": [ + { + "include": "source.python" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -2909,7 +3317,6 @@ ] } }, - "contentName": "meta.embedded.r", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2919,7 +3326,14 @@ "name": "markup.code.r.mdx", "patterns": [ { - "include": "source.r" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.r", + "patterns": [ + { + "include": "source.r" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -2945,7 +3359,6 @@ ] } }, - "contentName": "meta.embedded.r", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2955,7 +3368,14 @@ "name": "markup.code.r.mdx", "patterns": [ { - "include": "source.r" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.r", + "patterns": [ + { + "include": "source.r" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -2985,7 +3405,6 @@ ] } }, - "contentName": "meta.embedded.raku", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -2995,7 +3414,14 @@ "name": "markup.code.raku.mdx", "patterns": [ { - "include": "source.raku" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.raku", + "patterns": [ + { + "include": "source.raku" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -3021,7 +3447,6 @@ ] } }, - "contentName": "meta.embedded.raku", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3031,7 +3456,14 @@ "name": "markup.code.raku.mdx", "patterns": [ { - "include": "source.raku" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.raku", + "patterns": [ + { + "include": "source.raku" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -3061,7 +3493,6 @@ ] } }, - "contentName": "meta.embedded.ruby", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3071,7 +3502,14 @@ "name": "markup.code.ruby.mdx", "patterns": [ { - "include": "source.ruby" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.ruby", + "patterns": [ + { + "include": "source.ruby" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -3097,7 +3535,6 @@ ] } }, - "contentName": "meta.embedded.ruby", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3107,7 +3544,14 @@ "name": "markup.code.ruby.mdx", "patterns": [ { - "include": "source.ruby" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.ruby", + "patterns": [ + { + "include": "source.ruby" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -3137,7 +3581,6 @@ ] } }, - "contentName": "meta.embedded.rust", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3147,7 +3590,14 @@ "name": "markup.code.rust.mdx", "patterns": [ { - "include": "source.rust" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.rust", + "patterns": [ + { + "include": "source.rust" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -3173,7 +3623,6 @@ ] } }, - "contentName": "meta.embedded.rust", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3183,7 +3632,14 @@ "name": "markup.code.rust.mdx", "patterns": [ { - "include": "source.rust" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.rust", + "patterns": [ + { + "include": "source.rust" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -3213,7 +3669,6 @@ ] } }, - "contentName": "meta.embedded.scala", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3223,7 +3678,14 @@ "name": "markup.code.scala.mdx", "patterns": [ { - "include": "source.scala" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.scala", + "patterns": [ + { + "include": "source.scala" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -3249,7 +3711,6 @@ ] } }, - "contentName": "meta.embedded.scala", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3259,7 +3720,14 @@ "name": "markup.code.scala.mdx", "patterns": [ { - "include": "source.scala" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.scala", + "patterns": [ + { + "include": "source.scala" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -3289,7 +3757,6 @@ ] } }, - "contentName": "meta.embedded.scss", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3299,7 +3766,14 @@ "name": "markup.code.scss.mdx", "patterns": [ { - "include": "source.css.scss" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.scss", + "patterns": [ + { + "include": "source.css.scss" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -3325,7 +3799,6 @@ ] } }, - "contentName": "meta.embedded.scss", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3335,7 +3808,14 @@ "name": "markup.code.scss.mdx", "patterns": [ { - "include": "source.css.scss" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.scss", + "patterns": [ + { + "include": "source.css.scss" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -3344,7 +3824,7 @@ "commonmark-code-fenced-shell": { "patterns": [ { - "begin": "(?:^|\\G)[\\t ]*(`{3,})(?:[\\t ]*((?i:abuild|alpine\\x2dabuild|apkbuild|gentoo\\x2debuild|gentoo\\x2declass|openrc|openrc\\x2drunscript|shell|shell\\x2dscript|(?:.*\\.)?(?:bash|bats|command|csh|ebuild|eclass|ksh|sh|sh\\.in|tcsh|tmux|tool|zsh|zsh\\x2dtheme)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)", + "begin": "(?:^|\\G)[\\t ]*(`{3,})(?:[\\t ]*((?i:abuild|alpine\\x2dabuild|apkbuild|envrc|gentoo\\x2debuild|gentoo\\x2declass|openrc|openrc\\x2drunscript|shell|shell\\x2dscript|(?:.*\\.)?(?:bash|bats|command|csh|ebuild|eclass|ksh|sh|sh\\.in|tcsh|tmux|tool|zsh|zsh\\x2dtheme)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)", "beginCaptures": { "1": { "name": "string.other.begin.code.fenced.mdx" @@ -3365,7 +3845,6 @@ ] } }, - "contentName": "meta.embedded.shell", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3375,12 +3854,19 @@ "name": "markup.code.shell.mdx", "patterns": [ { - "include": "source.shell" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.shell", + "patterns": [ + { + "include": "source.shell" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, { - "begin": "(?:^|\\G)[\\t ]*(~{3,})(?:[\\t ]*((?i:abuild|alpine\\x2dabuild|apkbuild|gentoo\\x2debuild|gentoo\\x2declass|openrc|openrc\\x2drunscript|shell|shell\\x2dscript|(?:.*\\.)?(?:bash|bats|command|csh|ebuild|eclass|ksh|sh|sh\\.in|tcsh|tmux|tool|zsh|zsh\\x2dtheme)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)", + "begin": "(?:^|\\G)[\\t ]*(~{3,})(?:[\\t ]*((?i:abuild|alpine\\x2dabuild|apkbuild|envrc|gentoo\\x2debuild|gentoo\\x2declass|openrc|openrc\\x2drunscript|shell|shell\\x2dscript|(?:.*\\.)?(?:bash|bats|command|csh|ebuild|eclass|ksh|sh|sh\\.in|tcsh|tmux|tool|zsh|zsh\\x2dtheme)))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)", "beginCaptures": { "1": { "name": "string.other.begin.code.fenced.mdx" @@ -3401,7 +3887,6 @@ ] } }, - "contentName": "meta.embedded.shell", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3411,7 +3896,14 @@ "name": "markup.code.shell.mdx", "patterns": [ { - "include": "source.shell" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.shell", + "patterns": [ + { + "include": "source.shell" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -3441,7 +3933,6 @@ ] } }, - "contentName": "meta.embedded.shell-session", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3451,7 +3942,14 @@ "name": "markup.code.shell-session.mdx", "patterns": [ { - "include": "text.shell-session" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.shell-session", + "patterns": [ + { + "include": "text.shell-session" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -3477,7 +3975,6 @@ ] } }, - "contentName": "meta.embedded.shell-session", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3487,7 +3984,14 @@ "name": "markup.code.shell-session.mdx", "patterns": [ { - "include": "text.shell-session" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.shell-session", + "patterns": [ + { + "include": "text.shell-session" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -3517,7 +4021,6 @@ ] } }, - "contentName": "meta.embedded.sql", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3527,7 +4030,14 @@ "name": "markup.code.sql.mdx", "patterns": [ { - "include": "source.sql" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.sql", + "patterns": [ + { + "include": "source.sql" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -3553,7 +4063,6 @@ ] } }, - "contentName": "meta.embedded.sql", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3563,7 +4072,14 @@ "name": "markup.code.sql.mdx", "patterns": [ { - "include": "source.sql" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.sql", + "patterns": [ + { + "include": "source.sql" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -3593,7 +4109,6 @@ ] } }, - "contentName": "meta.embedded.svg", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3603,10 +4118,17 @@ "name": "markup.code.svg.mdx", "patterns": [ { - "include": "text.xml.svg" - }, - { - "include": "text.xml" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.svg", + "patterns": [ + { + "include": "text.xml.svg" + }, + { + "include": "text.xml" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -3632,7 +4154,6 @@ ] } }, - "contentName": "meta.embedded.svg", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3642,10 +4163,17 @@ "name": "markup.code.svg.mdx", "patterns": [ { - "include": "text.xml.svg" - }, - { - "include": "text.xml" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.svg", + "patterns": [ + { + "include": "text.xml.svg" + }, + { + "include": "text.xml" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -3675,7 +4203,6 @@ ] } }, - "contentName": "meta.embedded.swift", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3685,7 +4212,14 @@ "name": "markup.code.swift.mdx", "patterns": [ { - "include": "source.swift" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.swift", + "patterns": [ + { + "include": "source.swift" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -3711,7 +4245,6 @@ ] } }, - "contentName": "meta.embedded.swift", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3721,7 +4254,14 @@ "name": "markup.code.swift.mdx", "patterns": [ { - "include": "source.swift" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.swift", + "patterns": [ + { + "include": "source.swift" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -3751,7 +4291,6 @@ ] } }, - "contentName": "meta.embedded.toml", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3761,7 +4300,14 @@ "name": "markup.code.toml.mdx", "patterns": [ { - "include": "source.toml" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.toml", + "patterns": [ + { + "include": "source.toml" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -3787,7 +4333,6 @@ ] } }, - "contentName": "meta.embedded.toml", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3797,7 +4342,14 @@ "name": "markup.code.toml.mdx", "patterns": [ { - "include": "source.toml" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.toml", + "patterns": [ + { + "include": "source.toml" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -3827,7 +4379,6 @@ ] } }, - "contentName": "meta.embedded.ts", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3837,7 +4388,14 @@ "name": "markup.code.ts.mdx", "patterns": [ { - "include": "source.ts" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.ts", + "patterns": [ + { + "include": "source.ts" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -3863,7 +4421,6 @@ ] } }, - "contentName": "meta.embedded.ts", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3873,7 +4430,14 @@ "name": "markup.code.ts.mdx", "patterns": [ { - "include": "source.ts" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.ts", + "patterns": [ + { + "include": "source.ts" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -3903,7 +4467,6 @@ ] } }, - "contentName": "meta.embedded.tsx", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3913,7 +4476,14 @@ "name": "markup.code.tsx.mdx", "patterns": [ { - "include": "source.tsx" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.tsx", + "patterns": [ + { + "include": "source.tsx" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -3939,7 +4509,6 @@ ] } }, - "contentName": "meta.embedded.tsx", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -3949,7 +4518,14 @@ "name": "markup.code.tsx.mdx", "patterns": [ { - "include": "source.tsx" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.tsx", + "patterns": [ + { + "include": "source.tsx" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -4045,7 +4621,6 @@ ] } }, - "contentName": "meta.embedded.vbnet", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -4055,7 +4630,14 @@ "name": "markup.code.vbnet.mdx", "patterns": [ { - "include": "source.vbnet" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.vbnet", + "patterns": [ + { + "include": "source.vbnet" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -4081,7 +4663,6 @@ ] } }, - "contentName": "meta.embedded.vbnet", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -4091,7 +4672,14 @@ "name": "markup.code.vbnet.mdx", "patterns": [ { - "include": "source.vbnet" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.vbnet", + "patterns": [ + { + "include": "source.vbnet" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -4121,7 +4709,6 @@ ] } }, - "contentName": "meta.embedded.xml", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -4131,7 +4718,14 @@ "name": "markup.code.xml.mdx", "patterns": [ { - "include": "text.xml" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.xml", + "patterns": [ + { + "include": "text.xml" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -4157,7 +4751,6 @@ ] } }, - "contentName": "meta.embedded.xml", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -4167,7 +4760,14 @@ "name": "markup.code.xml.mdx", "patterns": [ { - "include": "text.xml" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.xml", + "patterns": [ + { + "include": "text.xml" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } @@ -4197,7 +4797,6 @@ ] } }, - "contentName": "meta.embedded.yaml", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -4207,7 +4806,14 @@ "name": "markup.code.yaml.mdx", "patterns": [ { - "include": "source.yaml" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.yaml", + "patterns": [ + { + "include": "source.yaml" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] }, @@ -4233,7 +4839,6 @@ ] } }, - "contentName": "meta.embedded.yaml", "end": "(\\1)(?:[\\t ]*$)", "endCaptures": { "1": { @@ -4243,7 +4848,14 @@ "name": "markup.code.yaml.mdx", "patterns": [ { - "include": "source.yaml" + "begin": "(^|\\G)(\\s*)(.*)", + "contentName": "meta.embedded.yaml", + "patterns": [ + { + "include": "source.yaml" + } + ], + "while": "(^|\\G)(?![\\t ]*([`~]{3,})[\\t ]*$)" } ] } diff --git a/packages/tm-grammars/index.js b/packages/tm-grammars/index.js index 2230280..c188e92 100644 --- a/packages/tm-grammars/index.js +++ b/packages/tm-grammars/index.js @@ -1847,7 +1847,7 @@ export const grammars = [ source: 'https://github.com/nuxtlabs/vscode-mdc/blob/6294dbce9706f538a521e7dccce9609e928dc3be/syntaxes/mdc.tmLanguage.json', }, { - byteSize: 123658, + byteSize: 132856, categories: [ 'web', 'markup', @@ -1897,13 +1897,13 @@ export const grammars = [ 'swift', 'typescript', ], - lastUpdate: '2024-01-11T16:40:19Z', + lastUpdate: '2024-07-09T10:22:22Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/wooorm/markdown-tm-language/main/license', name: 'mdx', scopeName: 'source.mdx', - sha: '371d61df9ddc3850e12aabe61b602d02e259e8a4', - source: 'https://github.com/wooorm/markdown-tm-language/blob/371d61df9ddc3850e12aabe61b602d02e259e8a4/source.mdx.tmLanguage', + sha: '3f11836d11ca5ed41431ecd53dca7710c2c823ce', + source: 'https://github.com/wooorm/markdown-tm-language/blob/3f11836d11ca5ed41431ecd53dca7710c2c823ce/source.mdx.tmLanguage', }, { byteSize: 28661, @@ -3403,7 +3403,7 @@ export const injections = [ source: 'https://github.com/angular/vscode-ng-language-service/blob/f0422f5f571f79a904510944452f06fb36beff22/syntaxes/inline-styles.json', }, { - byteSize: 1049, + byteSize: 1033, embedded: [ 'angular-html', 'angular-template', @@ -3415,13 +3415,13 @@ export const injections = [ injectTo: [ 'source.ts.ng', ], - lastUpdate: '2024-07-02T16:10:13Z', + lastUpdate: '2024-07-09T18:10:35Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE', name: 'angular-inline-template', scopeName: 'inline-template.ng', - sha: '888875fef753416c464d1433f05caf8d53c9dd10', - source: 'https://github.com/angular/vscode-ng-language-service/blob/888875fef753416c464d1433f05caf8d53c9dd10/syntaxes/inline-template.json', + sha: 'f4a258cf7e3a4290fbcf36506e7b65743ec6599f', + source: 'https://github.com/angular/vscode-ng-language-service/blob/f4a258cf7e3a4290fbcf36506e7b65743ec6599f/syntaxes/inline-template.json', }, { byteSize: 471, diff --git a/packages/tm-grammars/package.json b/packages/tm-grammars/package.json index b6cdb36..8fdd624 100644 --- a/packages/tm-grammars/package.json +++ b/packages/tm-grammars/package.json @@ -1,7 +1,7 @@ { "name": "tm-grammars", "type": "module", - "version": "1.13.8", + "version": "1.13.9", "packageManager": "pnpm@9.0.6", "description": "Collecton of TextMate grammars in JSON", "author": "Anthony Fu ",