mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
Update grammars
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/microsoft/TypeScript-TmLanguage/commit/644389aef914fc6fbc97a4dd799cc2d1431ffc87",
|
||||
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/56b7270f094b036256774702e3b7f96490981190",
|
||||
"name": "TypeScript",
|
||||
"scopeName": "source.ts",
|
||||
"patterns": [
|
||||
@@ -5342,6 +5342,27 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"begin": "(?x)((@)template)\\s+(?={)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "storage.type.class.jsdoc"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.definition.block.tag.jsdoc"
|
||||
}
|
||||
},
|
||||
"end": "(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#jsdoctype"
|
||||
},
|
||||
{
|
||||
"name": "variable.other.jsdoc",
|
||||
"match": "([A-Za-z_$][\\w$.\\[\\]]*)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"match": "(?x)\n(\n (@)\n (?:arg|argument|const|constant|member|namespace|param|var)\n)\n\\s+\n(\n [A-Za-z_$]\n [\\w$.\\[\\]]*\n)",
|
||||
"captures": {
|
||||
|
||||
@@ -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/microsoft/TypeScript-TmLanguage/commit/644389aef914fc6fbc97a4dd799cc2d1431ffc87",
|
||||
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/56b7270f094b036256774702e3b7f96490981190",
|
||||
"name": "TypeScriptReact",
|
||||
"scopeName": "source.tsx",
|
||||
"patterns": [
|
||||
@@ -5293,6 +5293,27 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"begin": "(?x)((@)template)\\s+(?={)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "storage.type.class.jsdoc"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.definition.block.tag.jsdoc"
|
||||
}
|
||||
},
|
||||
"end": "(?=\\s|\\*/|[^{}\\[\\]A-Za-z_$])",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#jsdoctype"
|
||||
},
|
||||
{
|
||||
"name": "variable.other.jsdoc",
|
||||
"match": "([A-Za-z_$][\\w$.\\[\\]]*)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"match": "(?x)\n(\n (@)\n (?:arg|argument|const|constant|member|namespace|param|var)\n)\n\\s+\n(\n [A-Za-z_$]\n [\\w$.\\[\\]]*\n)",
|
||||
"captures": {
|
||||
|
||||
Reference in New Issue
Block a user