mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
Update JS/TS grammars
This commit is contained in:
parent
1275b918be
commit
86a9e31ccc
|
@ -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": "JavaScript (with React support)",
|
||||
"scopeName": "source.js",
|
||||
"patterns": [
|
||||
|
@ -4039,6 +4039,24 @@
|
|||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"name": "keyword.operator.rest.js",
|
||||
"match": "\\.\\.\\."
|
||||
},
|
||||
{
|
||||
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))([_$[:alpha:]][_$[:alnum:]]*)\\s*(\\?)?\\s*(:)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "entity.name.label.js"
|
||||
},
|
||||
"2": {
|
||||
"name": "keyword.operator.optional.js"
|
||||
},
|
||||
"3": {
|
||||
"name": "punctuation.separator.label.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": "JavaScript (with React support)",
|
||||
"scopeName": "source.js.jsx",
|
||||
"patterns": [
|
||||
|
@ -4039,6 +4039,24 @@
|
|||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"name": "keyword.operator.rest.js.jsx",
|
||||
"match": "\\.\\.\\."
|
||||
},
|
||||
{
|
||||
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))([_$[:alpha:]][_$[:alnum:]]*)\\s*(\\?)?\\s*(:)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "entity.name.label.js.jsx"
|
||||
},
|
||||
"2": {
|
||||
"name": "keyword.operator.optional.js.jsx"
|
||||
},
|
||||
"3": {
|
||||
"name": "punctuation.separator.label.js.jsx"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"include": "#type"
|
||||
},
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"git": {
|
||||
"name": "TypeScript-TmLanguage",
|
||||
"repositoryUrl": "https://github.com/Microsoft/TypeScript-TmLanguage",
|
||||
"commitHash": "84422d92e164c379ed817ef8e1d6c35b61de233e"
|
||||
"commitHash": "fa4e0d3a918db0eab8e5c5be952f3bd649968456"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue