mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Update js/ts grammar
This commit is contained in:
parent
b435511d7b
commit
609a88d3e3
|
@ -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/2e0fded599d7b85b78692dee3d96e8a4710a5c57",
|
||||
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/c9c955af17ed0c86ebce32e0f26c72f0a2925937",
|
||||
"name": "JavaScript (with React support)",
|
||||
"scopeName": "source.js",
|
||||
"patterns": [
|
||||
|
@ -3161,6 +3161,17 @@
|
|||
"name": "keyword.operator.relational.js",
|
||||
"match": "<=|>=|<>|<|>"
|
||||
},
|
||||
{
|
||||
"match": "(\\!)\\s*(/)(?![/*])",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "keyword.operator.logical.js"
|
||||
},
|
||||
"2": {
|
||||
"name": "keyword.operator.arithmetic.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "keyword.operator.logical.js",
|
||||
"match": "\\!|&&|\\|\\||\\?\\?"
|
||||
|
|
|
@ -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/2e0fded599d7b85b78692dee3d96e8a4710a5c57",
|
||||
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/c9c955af17ed0c86ebce32e0f26c72f0a2925937",
|
||||
"name": "JavaScript (with React support)",
|
||||
"scopeName": "source.js.jsx",
|
||||
"patterns": [
|
||||
|
@ -3161,6 +3161,17 @@
|
|||
"name": "keyword.operator.relational.js.jsx",
|
||||
"match": "<=|>=|<>|<|>"
|
||||
},
|
||||
{
|
||||
"match": "(\\!)\\s*(/)(?![/*])",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "keyword.operator.logical.js.jsx"
|
||||
},
|
||||
"2": {
|
||||
"name": "keyword.operator.arithmetic.js.jsx"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "keyword.operator.logical.js.jsx",
|
||||
"match": "\\!|&&|\\|\\||\\?\\?"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"git": {
|
||||
"name": "TypeScript-TmLanguage",
|
||||
"repositoryUrl": "https://github.com/Microsoft/TypeScript-TmLanguage",
|
||||
"commitHash": "2e0fded599d7b85b78692dee3d96e8a4710a5c57"
|
||||
"commitHash": "c9c955af17ed0c86ebce32e0f26c72f0a2925937"
|
||||
}
|
||||
},
|
||||
"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/2e0fded599d7b85b78692dee3d96e8a4710a5c57",
|
||||
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/c9c955af17ed0c86ebce32e0f26c72f0a2925937",
|
||||
"name": "TypeScript",
|
||||
"scopeName": "source.ts",
|
||||
"patterns": [
|
||||
|
@ -3210,6 +3210,17 @@
|
|||
"name": "keyword.operator.relational.ts",
|
||||
"match": "<=|>=|<>|<|>"
|
||||
},
|
||||
{
|
||||
"match": "(\\!)\\s*(/)(?![/*])",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "keyword.operator.logical.ts"
|
||||
},
|
||||
"2": {
|
||||
"name": "keyword.operator.arithmetic.ts"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "keyword.operator.logical.ts",
|
||||
"match": "\\!|&&|\\|\\||\\?\\?"
|
||||
|
|
|
@ -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/2e0fded599d7b85b78692dee3d96e8a4710a5c57",
|
||||
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/c9c955af17ed0c86ebce32e0f26c72f0a2925937",
|
||||
"name": "TypeScriptReact",
|
||||
"scopeName": "source.tsx",
|
||||
"patterns": [
|
||||
|
@ -3161,6 +3161,17 @@
|
|||
"name": "keyword.operator.relational.tsx",
|
||||
"match": "<=|>=|<>|<|>"
|
||||
},
|
||||
{
|
||||
"match": "(\\!)\\s*(/)(?![/*])",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "keyword.operator.logical.tsx"
|
||||
},
|
||||
"2": {
|
||||
"name": "keyword.operator.arithmetic.tsx"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "keyword.operator.logical.tsx",
|
||||
"match": "\\!|&&|\\|\\||\\?\\?"
|
||||
|
|
Loading…
Reference in a new issue