mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 08:38:56 +01:00
Update grammars (#186752)
This commit is contained in:
@@ -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/jlelong/vscode-latex-basics/commit/8c2574ce3dbc6e24451bb81c1ee2bc3b1ffb75f3",
|
||||
"version": "https://github.com/jlelong/vscode-latex-basics/commit/01814480aecb9e1280fce20b7302178630755da9",
|
||||
"name": "Markdown",
|
||||
"scopeName": "text.tex.markdown_latex_combined",
|
||||
"patterns": [
|
||||
@@ -2399,7 +2399,7 @@
|
||||
"name": "punctuation.definition.string.end.markdown"
|
||||
}
|
||||
},
|
||||
"match": "(?x)\n \\s* # Leading whitespace\n (\\[)([^]]+?)(\\])(:) # Reference name\n [ \\t]* # Optional whitespace\n (?:(<)([^\\>]+?)(>)|(\\S+?)) # The url\n [ \\t]* # Optional whitespace\n (?:\n ((\\().+?(\\))) # Match title in parens…\n | ((\").+?(\")) # or in double quotes…\n | ((').+?(')) # or in single quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n $\n",
|
||||
"match": "(?x)\n \\s* # Leading whitespace\n (\\[)([^]]+?)(\\])(:) # Reference name\n [ \\t]* # Optional whitespace\n (?:(<)((?:\\\\[<>]|[^<>\\n])*)(>)|(\\S+?)) # The url\n [ \\t]* # Optional whitespace\n (?:\n ((\\().+?(\\))) # Match title in parens…\n | ((\").+?(\")) # or in double quotes…\n | ((').+?(')) # or in single quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n $\n",
|
||||
"name": "meta.link.reference.def.markdown"
|
||||
},
|
||||
"list_paragraph": {
|
||||
@@ -2641,47 +2641,50 @@
|
||||
"5": {
|
||||
"name": "punctuation.definition.metadata.markdown"
|
||||
},
|
||||
"6": {
|
||||
"name": "punctuation.definition.link.markdown"
|
||||
},
|
||||
"7": {
|
||||
"name": "markup.underline.link.image.markdown"
|
||||
"name": "punctuation.definition.link.markdown"
|
||||
},
|
||||
"8": {
|
||||
"name": "punctuation.definition.link.markdown"
|
||||
"name": "markup.underline.link.image.markdown"
|
||||
},
|
||||
"9": {
|
||||
"name": "string.other.link.description.title.markdown"
|
||||
"name": "punctuation.definition.link.markdown"
|
||||
},
|
||||
"10": {
|
||||
"name": "punctuation.definition.string.markdown"
|
||||
},
|
||||
"11": {
|
||||
"name": "punctuation.definition.string.markdown"
|
||||
"name": "markup.underline.link.image.markdown"
|
||||
},
|
||||
"12": {
|
||||
"name": "string.other.link.description.title.markdown"
|
||||
},
|
||||
"13": {
|
||||
"name": "punctuation.definition.string.markdown"
|
||||
"name": "punctuation.definition.string.begin.markdown"
|
||||
},
|
||||
"14": {
|
||||
"name": "punctuation.definition.string.markdown"
|
||||
"name": "punctuation.definition.string.end.markdown"
|
||||
},
|
||||
"15": {
|
||||
"name": "string.other.link.description.title.markdown"
|
||||
},
|
||||
"16": {
|
||||
"name": "punctuation.definition.string.markdown"
|
||||
"name": "punctuation.definition.string.begin.markdown"
|
||||
},
|
||||
"17": {
|
||||
"name": "punctuation.definition.string.markdown"
|
||||
"name": "punctuation.definition.string.end.markdown"
|
||||
},
|
||||
"18": {
|
||||
"name": "string.other.link.description.title.markdown"
|
||||
},
|
||||
"19": {
|
||||
"name": "punctuation.definition.string.begin.markdown"
|
||||
},
|
||||
"20": {
|
||||
"name": "punctuation.definition.string.end.markdown"
|
||||
},
|
||||
"21": {
|
||||
"name": "punctuation.definition.metadata.markdown"
|
||||
}
|
||||
},
|
||||
"match": "(?x)\n (\\!\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])\n # Match the link text.\n (\\() # Opening paren for url\n (<?)(\\S+?)(>?) # The url\n [ \\t]* # Optional whitespace\n (?:\n ((\\().+?(\\))) # Match title in parens…\n | ((\").+?(\")) # or in double quotes…\n | ((').+?(')) # or in single quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n (\\))\n",
|
||||
"match": "(?x)\n (\\!\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])\n # Match the link text.\n (\\() # Opening paren for url\n # The url\n [ \\t]*\n (\n (<)((?:\\\\[<>]|[^<>\\n])*)(>)\n | ((?<url>(?>[^\\s()]+)|\\(\\g<url>*\\))*)\n )\n [ \\t]*\n (?:\n ((\\().+?(\\))) # Match title in parens…\n | ((\").+?(\")) # or in double quotes…\n | ((').+?(')) # or in single quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n (\\))\n",
|
||||
"name": "meta.image.inline.markdown"
|
||||
},
|
||||
"image-ref": {
|
||||
@@ -2876,7 +2879,7 @@
|
||||
"name": "punctuation.definition.metadata.markdown"
|
||||
}
|
||||
},
|
||||
"match": "(?x)\n (\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])\n # Match the link text.\n (\\() # Opening paren for url\n # The url\n [ \\t]*\n (\n (<)([^<>\\n]*)(>)\n | ((?<url>(?>[^\\s()]+)|\\(\\g<url>*\\))*)\n )\n [ \\t]*\n # The title \n (?:\n ((\\()[^()]*(\\))) # Match title in parens…\n | ((\")[^\"]*(\")) # or in double quotes…\n | ((')[^']*(')) # or in single quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n (\\))\n",
|
||||
"match": "(?x)\n (\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])\n # Match the link text.\n (\\() # Opening paren for url\n # The url\n [ \\t]*\n (\n (<)((?:\\\\[<>]|[^<>\\n])*)(>)\n | ((?<url>(?>[^\\s()]+)|\\(\\g<url>*\\))*)\n )\n [ \\t]*\n # The title \n (?:\n ((\\()[^()]*(\\))) # Match title in parens…\n | ((\")[^\"]*(\")) # or in double quotes…\n | ((')[^']*(')) # or in single quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n (\\))\n",
|
||||
"name": "meta.link.inline.markdown"
|
||||
},
|
||||
"link-ref": {
|
||||
|
||||
Reference in New Issue
Block a user