mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
Update JS/TS 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/84422d92e164c379ed817ef8e1d6c35b61de233e",
|
||||
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/fa4e0d3a918db0eab8e5c5be952f3bd649968456",
|
||||
"name": "TypeScript",
|
||||
"scopeName": "source.ts",
|
||||
"patterns": [
|
||||
@@ -4088,6 +4088,24 @@
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"name": "keyword.operator.rest.ts",
|
||||
"match": "\\.\\.\\."
|
||||
},
|
||||
{
|
||||
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))([_$[:alpha:]][_$[:alnum:]]*)\\s*(\\?)?\\s*(:)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "entity.name.label.ts"
|
||||
},
|
||||
"2": {
|
||||
"name": "keyword.operator.optional.ts"
|
||||
},
|
||||
"3": {
|
||||
"name": "punctuation.separator.label.ts"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"include": "#type"
|
||||
},
|
||||
|
||||
@@ -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/84422d92e164c379ed817ef8e1d6c35b61de233e",
|
||||
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/fa4e0d3a918db0eab8e5c5be952f3bd649968456",
|
||||
"name": "TypeScriptReact",
|
||||
"scopeName": "source.tsx",
|
||||
"patterns": [
|
||||
@@ -4039,6 +4039,24 @@
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"name": "keyword.operator.rest.tsx",
|
||||
"match": "\\.\\.\\."
|
||||
},
|
||||
{
|
||||
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))([_$[:alpha:]][_$[:alnum:]]*)\\s*(\\?)?\\s*(:)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "entity.name.label.tsx"
|
||||
},
|
||||
"2": {
|
||||
"name": "keyword.operator.optional.tsx"
|
||||
},
|
||||
"3": {
|
||||
"name": "punctuation.separator.label.tsx"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"include": "#type"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user