diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f4cfe1..9c2a4d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ## [Unreleased] +## [1.2.0] - 2024-09-15 + ### Added +- Ability to highlight all blocks from a point onwards - Comment snippet - Feature & settings documentation @@ -19,7 +22,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ### Added -- Ability highlight all blocks from a point onwards +- Ability to highlight all blocks from a point onwards ## [1.0.6] - 2024-09-12 @@ -160,7 +163,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - Highlighting support for 40 languages in YAML block-scalars -[unreleased]: https://github.com/harrydowning/vscode-yaml-embedded-languages/compare/v1.0.6...HEAD +[unreleased]: https://github.com/harrydowning/vscode-yaml-embedded-languages/compare/v1.2.0...HEAD +[1.2.0]: https://github.com/harrydowning/vscode-yaml-embedded-languages/compare/v1.1.0...v1.2.0 [1.1.0]: https://github.com/harrydowning/vscode-yaml-embedded-languages/compare/v1.0.6...v1.1.0 [1.0.6]: https://github.com/harrydowning/vscode-yaml-embedded-languages/compare/v1.0.5...v1.0.6 [1.0.5]: https://github.com/harrydowning/vscode-yaml-embedded-languages/compare/v1.0.4...v1.0.5 diff --git a/package-lock.json b/package-lock.json index e8bd9a6..c1c0b56 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "yaml-embedded-languages", - "version": "1.1.0", + "version": "1.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "yaml-embedded-languages", - "version": "1.1.0", + "version": "1.2.0", "license": "MIT", "devDependencies": { "@eslint/js": "^9.9.0", diff --git a/package.json b/package.json index 6a7224f..2a2e46e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yaml-embedded-languages", - "version": "1.1.0", + "version": "1.2.0", "displayName": "YAML Embedded Languages", "description": "Support for syntax highlighting within YAML block-scalars.", "icon": "images/icon.png", diff --git a/src/injection-grammar.ts b/src/injection-grammar.ts index c4c63bf..0bfdeac 100644 --- a/src/injection-grammar.ts +++ b/src/injection-grammar.ts @@ -1,5 +1,5 @@ import packageJson from "@package"; -import { Languages, PRE_RELEASE } from "./constants"; +import { Languages } from "./constants"; import { Writable } from "./writable"; export class InjectionGrammar extends Writable { @@ -17,58 +17,51 @@ export class InjectionGrammar extends Writable { #getPatterns() { const entries = Object.entries(this.languages); - const patterns = []; - - if (PRE_RELEASE) { - patterns.push( - { - begin: `#\\s*${packageJson.name}\\s*$`, - beginCaptures: { - 0: { name: "entity.name.type.yaml" }, - }, - patterns: [{ include: this.injectionScopeName }], + const patterns = [ + { + begin: `#\\s*${packageJson.name}\\s*$`, + beginCaptures: { + 0: { name: "entity.name.type.yaml" }, }, - ...entries.map(([id, { scopeName, stripIndent }]) => ({ - begin: `#\\s*${packageJson.name}\\s*:\\s*${id}\\s*$`, - beginCaptures: { - 0: { name: "entity.name.type.yaml" }, - }, - patterns: [ - { - begin: `(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$`, - beginCaptures: { - 1: { name: "keyword.control.flow.block-scalar.literal.yaml" }, - 2: { name: "keyword.control.flow.block-scalar.folded.yaml" }, - 3: { name: "constant.numeric.indentation-indicator.yaml" }, - 4: { name: "storage.modifier.chomping-indicator.yaml" }, - 5: { - patterns: [ - { include: `${this.injectionScopeName}#comment` }, - { - match: ".+", - name: "invalid.illegal.expected-comment-or-newline.yaml", - }, - ], - }, + patterns: [{ include: this.injectionScopeName }], + }, + ...entries.map(([id, { scopeName, stripIndent }]) => ({ + begin: `#\\s*${packageJson.name}\\s*:\\s*${id}\\s*$`, + beginCaptures: { + 0: { name: "entity.name.type.yaml" }, + }, + patterns: [ + { + begin: `(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$`, + beginCaptures: { + 1: { name: "keyword.control.flow.block-scalar.literal.yaml" }, + 2: { name: "keyword.control.flow.block-scalar.folded.yaml" }, + 3: { name: "constant.numeric.indentation-indicator.yaml" }, + 4: { name: "storage.modifier.chomping-indicator.yaml" }, + 5: { + patterns: [ + { include: `${this.injectionScopeName}#comment` }, + { + match: ".+", + name: "invalid.illegal.expected-comment-or-newline.yaml", + }, + ], }, - end: "^(?=\\S)|(?!\\G)", - patterns: [ - { - begin: "(?>^|\\G)([ ]+)(?! )", - end: "^(?!\\1|\\s*$)", - while: stripIndent ? "^$|\\1" : undefined, - name: `${this.embeddedScopeNamePrefix}.${id}`, - patterns: [{ include: scopeName }], - }, - ], }, - { include: this.injectionScopeName }, - ], - })), - ); - } - - patterns.push( + end: "^(?=\\S)|(?!\\G)", + patterns: [ + { + begin: "(?>^|\\G)([ ]+)(?! )", + end: "^(?!\\1|\\s*$)", + while: stripIndent ? "^$|\\1" : undefined, + name: `${this.embeddedScopeNamePrefix}.${id}`, + patterns: [{ include: scopeName }], + }, + ], + }, + { include: this.injectionScopeName }, + ], + })), ...entries.map(([id, { scopeName, stripIndent }]) => ({ begin: `(?i)(?:(\\|)|(>))([1-9])?([-+])?\\s+(#\\s*(?:${id})\\s*)$`, beginCaptures: { @@ -89,8 +82,7 @@ export class InjectionGrammar extends Writable { }, ], })), - ); - + ]; return patterns; } diff --git a/syntaxes/source.github-actions-workflow.injection.tmLanguage.json b/syntaxes/source.github-actions-workflow.injection.tmLanguage.json index b335765..72875f5 100644 --- a/syntaxes/source.github-actions-workflow.injection.tmLanguage.json +++ b/syntaxes/source.github-actions-workflow.injection.tmLanguage.json @@ -2,6 +2,3858 @@ "scopeName": "source.github-actions-workflow.injection", "injectionSelector": "L:source.github-actions-workflow -comment -string -meta.embedded", "patterns": [ + { + "begin": "#\\s*yaml-embedded-languages\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*bat\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.bat", + "patterns": [ + { + "include": "source.batchfile" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*bibtex\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.bibtex", + "patterns": [ + { + "include": "text.bibtex" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*c\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.c", + "patterns": [ + { + "include": "source.c" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*c#\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.c#", + "patterns": [ + { + "include": "source.cs" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*c\\+\\+\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.c\\+\\+", + "patterns": [ + { + "include": "source.cpp" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*clojure\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.clojure", + "patterns": [ + { + "include": "source.clojure" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*coffee\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.coffee", + "patterns": [ + { + "include": "source.coffee" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*cpp\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.cpp", + "patterns": [ + { + "include": "source.cpp" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*csharp\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.csharp", + "patterns": [ + { + "include": "source.cs" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*css\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.css", + "patterns": [ + { + "include": "source.css" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*cuda\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.cuda", + "patterns": [ + { + "include": "source.cuda-cpp" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*dart\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.dart", + "patterns": [ + { + "include": "source.dart" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*diff\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "while": "^$|\\1", + "name": "meta.embedded.inline.diff", + "patterns": [ + { + "include": "source.diff" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*dockercompose\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "while": "^$|\\1", + "name": "meta.embedded.inline.dockercompose", + "patterns": [ + { + "include": "source.yaml" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*dockerfile\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.dockerfile", + "patterns": [ + { + "include": "source.dockerfile" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*f#\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.f#", + "patterns": [ + { + "include": "source.fsharp" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*fsharp\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.fsharp", + "patterns": [ + { + "include": "source.fsharp" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*go\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.go", + "patterns": [ + { + "include": "source.go" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*groovy\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.groovy", + "patterns": [ + { + "include": "source.groovy" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*handlebars\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.handlebars", + "patterns": [ + { + "include": "text.html.handlebars" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*hlsl\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.hlsl", + "patterns": [ + { + "include": "source.hlsl" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*html\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.html", + "patterns": [ + { + "include": "text.html.derivative" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*ini\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.ini", + "patterns": [ + { + "include": "source.ini" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*jade\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.jade", + "patterns": [ + { + "include": "text.pug" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*java\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.java", + "patterns": [ + { + "include": "source.java" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*javascript\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.javascript", + "patterns": [ + { + "include": "source.js" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*js\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.js", + "patterns": [ + { + "include": "source.js" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*json\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.json", + "patterns": [ + { + "include": "source.json" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*jsonc\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.jsonc", + "patterns": [ + { + "include": "source.json.comments" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*jsonl\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.jsonl", + "patterns": [ + { + "include": "source.json.lines" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*jsx\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.jsx", + "patterns": [ + { + "include": "source.js.jsx" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*julia\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.julia", + "patterns": [ + { + "include": "source.julia" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*latex\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "while": "^$|\\1", + "name": "meta.embedded.inline.latex", + "patterns": [ + { + "include": "text.tex.latex" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*less\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.less", + "patterns": [ + { + "include": "source.css.less" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*log\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.log", + "patterns": [ + { + "include": "text.log" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*lua\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.lua", + "patterns": [ + { + "include": "source.lua" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*make\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.make", + "patterns": [ + { + "include": "source.makefile" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*makefile\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.makefile", + "patterns": [ + { + "include": "source.makefile" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*markdown\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "while": "^$|\\1", + "name": "meta.embedded.inline.markdown", + "patterns": [ + { + "include": "text.html.markdown" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*math\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.math", + "patterns": [ + { + "include": "text.html.markdown.math" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*objc\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.objc", + "patterns": [ + { + "include": "source.objc" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*objcpp\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.objcpp", + "patterns": [ + { + "include": "source.objcpp" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*perl\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.perl", + "patterns": [ + { + "include": "source.perl" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*php\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.php", + "patterns": [ + { + "include": "text.html.php" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*pip\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.pip", + "patterns": [ + { + "include": "source.pip-requirements" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*powerfx\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.powerfx", + "patterns": [ + { + "include": "source.js" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*powershell\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.powershell", + "patterns": [ + { + "include": "source.powershell" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*properties\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.properties", + "patterns": [ + { + "include": "source.ini" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*py\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.py", + "patterns": [ + { + "include": "source.python" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*python\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.python", + "patterns": [ + { + "include": "source.python" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*r\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.r", + "patterns": [ + { + "include": "source.r" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*raku\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.raku", + "patterns": [ + { + "include": "source.perl.6" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*razor\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.razor", + "patterns": [ + { + "include": "text.html.cshtml" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*regex\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.regex", + "patterns": [ + { + "include": "source.js.regexp" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*requirements\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.requirements", + "patterns": [ + { + "include": "source.pip-requirements" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*rst\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.rst", + "patterns": [ + { + "include": "source.rst" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*ruby\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.ruby", + "patterns": [ + { + "include": "source.ruby" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*rust\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.rust", + "patterns": [ + { + "include": "source.rust" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*scss\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.scss", + "patterns": [ + { + "include": "source.css.scss" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*shaderlab\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.shaderlab", + "patterns": [ + { + "include": "source.shaderlab" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*shell\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.shell", + "patterns": [ + { + "include": "source.shell" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*sql\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.sql", + "patterns": [ + { + "include": "source.sql" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*swift\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.swift", + "patterns": [ + { + "include": "source.swift" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*tex\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.tex", + "patterns": [ + { + "include": "text.tex" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*ts\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.ts", + "patterns": [ + { + "include": "source.ts" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*tsx\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.tsx", + "patterns": [ + { + "include": "source.tsx" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*typescript\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.typescript", + "patterns": [ + { + "include": "source.ts" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*vb\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.vb", + "patterns": [ + { + "include": "source.asp.vb.net" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*xml\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.xml", + "patterns": [ + { + "include": "text.xml" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*xsl\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.xsl", + "patterns": [ + { + "include": "text.xml.xsl" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*yaml\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.github-actions-workflow#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "while": "^$|\\1", + "name": "meta.embedded.inline.yaml", + "patterns": [ + { + "include": "source.yaml" + } + ] + } + ] + }, + { + "include": "source.github-actions-workflow" + } + ] + }, { "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?\\s+(#\\s*(?:bat)\\s*)$", "beginCaptures": { diff --git a/syntaxes/source.yaml.injection.tmLanguage.json b/syntaxes/source.yaml.injection.tmLanguage.json index 68c1a2e..b828912 100644 --- a/syntaxes/source.yaml.injection.tmLanguage.json +++ b/syntaxes/source.yaml.injection.tmLanguage.json @@ -2,6 +2,3858 @@ "scopeName": "source.yaml.injection", "injectionSelector": "L:source.yaml -comment -string -meta.embedded", "patterns": [ + { + "begin": "#\\s*yaml-embedded-languages\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*bat\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.bat", + "patterns": [ + { + "include": "source.batchfile" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*bibtex\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.bibtex", + "patterns": [ + { + "include": "text.bibtex" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*c\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.c", + "patterns": [ + { + "include": "source.c" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*c#\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.c#", + "patterns": [ + { + "include": "source.cs" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*c\\+\\+\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.c\\+\\+", + "patterns": [ + { + "include": "source.cpp" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*clojure\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.clojure", + "patterns": [ + { + "include": "source.clojure" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*coffee\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.coffee", + "patterns": [ + { + "include": "source.coffee" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*cpp\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.cpp", + "patterns": [ + { + "include": "source.cpp" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*csharp\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.csharp", + "patterns": [ + { + "include": "source.cs" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*css\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.css", + "patterns": [ + { + "include": "source.css" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*cuda\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.cuda", + "patterns": [ + { + "include": "source.cuda-cpp" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*dart\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.dart", + "patterns": [ + { + "include": "source.dart" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*diff\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "while": "^$|\\1", + "name": "meta.embedded.inline.diff", + "patterns": [ + { + "include": "source.diff" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*dockercompose\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "while": "^$|\\1", + "name": "meta.embedded.inline.dockercompose", + "patterns": [ + { + "include": "source.yaml" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*dockerfile\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.dockerfile", + "patterns": [ + { + "include": "source.dockerfile" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*f#\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.f#", + "patterns": [ + { + "include": "source.fsharp" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*fsharp\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.fsharp", + "patterns": [ + { + "include": "source.fsharp" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*go\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.go", + "patterns": [ + { + "include": "source.go" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*groovy\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.groovy", + "patterns": [ + { + "include": "source.groovy" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*handlebars\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.handlebars", + "patterns": [ + { + "include": "text.html.handlebars" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*hlsl\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.hlsl", + "patterns": [ + { + "include": "source.hlsl" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*html\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.html", + "patterns": [ + { + "include": "text.html.derivative" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*ini\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.ini", + "patterns": [ + { + "include": "source.ini" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*jade\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.jade", + "patterns": [ + { + "include": "text.pug" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*java\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.java", + "patterns": [ + { + "include": "source.java" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*javascript\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.javascript", + "patterns": [ + { + "include": "source.js" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*js\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.js", + "patterns": [ + { + "include": "source.js" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*json\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.json", + "patterns": [ + { + "include": "source.json" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*jsonc\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.jsonc", + "patterns": [ + { + "include": "source.json.comments" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*jsonl\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.jsonl", + "patterns": [ + { + "include": "source.json.lines" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*jsx\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.jsx", + "patterns": [ + { + "include": "source.js.jsx" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*julia\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.julia", + "patterns": [ + { + "include": "source.julia" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*latex\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "while": "^$|\\1", + "name": "meta.embedded.inline.latex", + "patterns": [ + { + "include": "text.tex.latex" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*less\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.less", + "patterns": [ + { + "include": "source.css.less" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*log\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.log", + "patterns": [ + { + "include": "text.log" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*lua\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.lua", + "patterns": [ + { + "include": "source.lua" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*make\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.make", + "patterns": [ + { + "include": "source.makefile" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*makefile\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.makefile", + "patterns": [ + { + "include": "source.makefile" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*markdown\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "while": "^$|\\1", + "name": "meta.embedded.inline.markdown", + "patterns": [ + { + "include": "text.html.markdown" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*math\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.math", + "patterns": [ + { + "include": "text.html.markdown.math" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*objc\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.objc", + "patterns": [ + { + "include": "source.objc" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*objcpp\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.objcpp", + "patterns": [ + { + "include": "source.objcpp" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*perl\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.perl", + "patterns": [ + { + "include": "source.perl" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*php\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.php", + "patterns": [ + { + "include": "text.html.php" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*pip\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.pip", + "patterns": [ + { + "include": "source.pip-requirements" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*powerfx\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.powerfx", + "patterns": [ + { + "include": "source.js" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*powershell\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.powershell", + "patterns": [ + { + "include": "source.powershell" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*properties\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.properties", + "patterns": [ + { + "include": "source.ini" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*py\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.py", + "patterns": [ + { + "include": "source.python" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*python\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.python", + "patterns": [ + { + "include": "source.python" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*r\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.r", + "patterns": [ + { + "include": "source.r" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*raku\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.raku", + "patterns": [ + { + "include": "source.perl.6" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*razor\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.razor", + "patterns": [ + { + "include": "text.html.cshtml" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*regex\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.regex", + "patterns": [ + { + "include": "source.js.regexp" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*requirements\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.requirements", + "patterns": [ + { + "include": "source.pip-requirements" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*rst\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.rst", + "patterns": [ + { + "include": "source.rst" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*ruby\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.ruby", + "patterns": [ + { + "include": "source.ruby" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*rust\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.rust", + "patterns": [ + { + "include": "source.rust" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*scss\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.scss", + "patterns": [ + { + "include": "source.css.scss" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*shaderlab\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.shaderlab", + "patterns": [ + { + "include": "source.shaderlab" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*shell\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.shell", + "patterns": [ + { + "include": "source.shell" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*sql\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.sql", + "patterns": [ + { + "include": "source.sql" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*swift\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.swift", + "patterns": [ + { + "include": "source.swift" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*tex\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.tex", + "patterns": [ + { + "include": "text.tex" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*ts\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.ts", + "patterns": [ + { + "include": "source.ts" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*tsx\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.tsx", + "patterns": [ + { + "include": "source.tsx" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*typescript\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.typescript", + "patterns": [ + { + "include": "source.ts" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*vb\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.vb", + "patterns": [ + { + "include": "source.asp.vb.net" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*xml\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.xml", + "patterns": [ + { + "include": "text.xml" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*xsl\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "name": "meta.embedded.inline.xsl", + "patterns": [ + { + "include": "text.xml.xsl" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, + { + "begin": "#\\s*yaml-embedded-languages\\s*:\\s*yaml\\s*$", + "beginCaptures": { + "0": { + "name": "entity.name.type.yaml" + } + }, + "patterns": [ + { + "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?(.*)\\s*$", + "beginCaptures": { + "1": { + "name": "keyword.control.flow.block-scalar.literal.yaml" + }, + "2": { + "name": "keyword.control.flow.block-scalar.folded.yaml" + }, + "3": { + "name": "constant.numeric.indentation-indicator.yaml" + }, + "4": { + "name": "storage.modifier.chomping-indicator.yaml" + }, + "5": { + "patterns": [ + { + "include": "source.yaml#comment" + }, + { + "match": ".+", + "name": "invalid.illegal.expected-comment-or-newline.yaml" + } + ] + } + }, + "end": "^(?=\\S)|(?!\\G)", + "patterns": [ + { + "begin": "(?>^|\\G)([ ]+)(?! )", + "end": "^(?!\\1|\\s*$)", + "while": "^$|\\1", + "name": "meta.embedded.inline.yaml", + "patterns": [ + { + "include": "source.yaml" + } + ] + } + ] + }, + { + "include": "source.yaml" + } + ] + }, { "begin": "(?i)(?:(\\|)|(>))([1-9])?([-+])?\\s+(#\\s*(?:bat)\\s*)$", "beginCaptures": {