Use unique grammar and scope for JavaScript react to avoid conflicts when overriding plain old javascript grammar

Fixes #35532
This commit is contained in:
Matt Bierner
2017-10-10 15:01:51 -07:00
parent a91bad463a
commit 63ecf01397
6 changed files with 4505 additions and 228 deletions

View File

@@ -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/d6ee336bf6047594768a56f955563ba5ce86e7c9",
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/5955a5aed3d8d2862c614f2137d22f2334d490e9",
"name": "JavaScript (with React support)",
"scopeName": "source.js",
"fileTypes": [
@@ -3332,7 +3332,7 @@
"name": "punctuation.definition.group.regexp"
},
"1": {
"name": "punctuation.definition.group.capture.regexp"
"name": "punctuation.definition.group.no-capture.regexp"
}
},
"end": "\\)",

File diff suppressed because one or more lines are too long