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/863fe48831356e0d459cc71c1e7d72c41b7e1b42",
|
||||
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/dd81cfb5b08015f35b5617751d27c5584198393b",
|
||||
"name": "JavaScript (with React support)",
|
||||
"scopeName": "source.js",
|
||||
"patterns": [
|
||||
@@ -15,16 +15,19 @@
|
||||
"include": "#statements"
|
||||
},
|
||||
{
|
||||
"name": "comment.line.shebang.ts",
|
||||
"match": "\\A(#!).*(?=$)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.comment.ts"
|
||||
}
|
||||
}
|
||||
"include": "#shebang"
|
||||
}
|
||||
],
|
||||
"repository": {
|
||||
"shebang": {
|
||||
"name": "comment.line.shebang.js",
|
||||
"match": "\\A(#!).*(?=$)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.comment.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"statements": {
|
||||
"patterns": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user