mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Update js/ts grammar
This commit is contained in:
parent
fc77b27e46
commit
25377ee712
|
@ -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": [
|
||||
{
|
||||
|
|
|
@ -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.jsx",
|
||||
"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.jsx",
|
||||
"match": "\\A(#!).*(?=$)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.comment.js.jsx"
|
||||
}
|
||||
}
|
||||
},
|
||||
"statements": {
|
||||
"patterns": [
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"git": {
|
||||
"name": "TypeScript-TmLanguage",
|
||||
"repositoryUrl": "https://github.com/Microsoft/TypeScript-TmLanguage",
|
||||
"commitHash": "863fe48831356e0d459cc71c1e7d72c41b7e1b42"
|
||||
"commitHash": "dd81cfb5b08015f35b5617751d27c5584198393b"
|
||||
}
|
||||
},
|
||||
"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/863fe48831356e0d459cc71c1e7d72c41b7e1b42",
|
||||
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/dd81cfb5b08015f35b5617751d27c5584198393b",
|
||||
"name": "TypeScript",
|
||||
"scopeName": "source.ts",
|
||||
"patterns": [
|
||||
|
@ -15,6 +15,11 @@
|
|||
"include": "#statements"
|
||||
},
|
||||
{
|
||||
"include": "#shebang"
|
||||
}
|
||||
],
|
||||
"repository": {
|
||||
"shebang": {
|
||||
"name": "comment.line.shebang.ts",
|
||||
"match": "\\A(#!).*(?=$)",
|
||||
"captures": {
|
||||
|
@ -22,9 +27,7 @@
|
|||
"name": "punctuation.definition.comment.ts"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"repository": {
|
||||
},
|
||||
"statements": {
|
||||
"patterns": [
|
||||
{
|
||||
|
|
|
@ -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": "TypeScriptReact",
|
||||
"scopeName": "source.tsx",
|
||||
"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.tsx",
|
||||
"match": "\\A(#!).*(?=$)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.comment.tsx"
|
||||
}
|
||||
}
|
||||
},
|
||||
"statements": {
|
||||
"patterns": [
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue