Update grammars (#194614)

This commit is contained in:
Alex Ross
2023-10-02 16:56:43 +02:00
committed by GitHub
parent 8f382227e0
commit 48e93f756b
16 changed files with 2354 additions and 168 deletions

View File

@@ -4,7 +4,7 @@
"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/trond-snekvik/vscode-rst/commit/4f6f1a8f94e0d16e30dddc9c4e359d062b715408",
"version": "https://github.com/trond-snekvik/vscode-rst/commit/7f2d6bb4e20642b60f2979afcb594cfe4b48117a",
"scopeName": "source.rst",
"patterns": [
{
@@ -253,7 +253,7 @@
"name": "entity.name.tag"
},
"options-list": {
"match": "^((?:-\\w|--[\\w-]+|/\\w+)(?:,? ?[\\w-]+)*)(?: |\\t|$)",
"match": "(?:(?:^|,\\s+)(?:[-+]\\w|--?[a-zA-Z][\\w-]+|/\\w+)(?:[ =](?:\\w+|<[^<>]+?>))?)+(?= |\\t|$)",
"name": "variable.parameter"
},
"blocks": {
@@ -341,7 +341,7 @@
},
"block": {
"begin": "^(\\s*)(\\.{2}\\s+\\S+::)(.*)",
"while": "^\\1(?=\\s)|^\\s*$",
"end": "^(?!\\1\\s|\\s*$)",
"beginCaptures": {
"2": {
"name": "keyword.control"