mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
Update js/ts grammar
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/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": "\\!|&&|\\|\\||\\?\\?"
|
||||
|
||||
Reference in New Issue
Block a user