Update yaml grammar (#224954)

Part of #224862
This commit is contained in:
Alex Ross
2024-08-06 17:26:38 +02:00
committed by GitHub
parent 5275859136
commit 2075322aaf
5 changed files with 24 additions and 9 deletions

View File

@@ -4,10 +4,21 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/RedCMD/YAML-Syntax-Highlighter/commit/274009903e20ac6dc37ba5763fb853744e28c9b2",
"version": "https://github.com/RedCMD/YAML-Syntax-Highlighter/commit/d4dca9f38a654ebbb13c1b72b7881e3c5864a778",
"name": "YAML Ain't Markup Language",
"scopeName": "source.yaml",
"patterns": [
{
"comment": "Support legacy FrontMatter integration",
"//": "https://github.com/microsoft/vscode-markdown-tm-grammar/pull/162",
"begin": "(?<=^-{3,}\\s*+)\\G$",
"while": "^(?! {3,0}-{3,}[ \t]*+$|[ \t]*+\\.{3}$)",
"patterns": [
{
"include": "source.yaml.1.2"
}
]
},
{
"comment": "Default to YAML version 1.2",
"include": "source.yaml.1.2"