Update grammars

This commit is contained in:
Alex Ross 2022-05-02 11:18:54 +02:00
parent 85e3f0d973
commit f3b1b53443
No known key found for this signature in database
GPG Key ID: 89DDDBA66CBA7840
14 changed files with 116 additions and 44 deletions

View File

@ -6,7 +6,7 @@
"git": {
"name": "dart-lang/dart-syntax-highlight",
"repositoryUrl": "https://github.com/dart-lang/dart-syntax-highlight",
"commitHash": "a93646fe6e552d1984c24fd31b1c07dcb3ce7c21"
"commitHash": "9d4857e114b7000d94232d83187ad142961c678a"
}
},
"licenseDetail": [

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/dart-lang/dart-syntax-highlight/commit/a93646fe6e552d1984c24fd31b1c07dcb3ce7c21",
"version": "https://github.com/dart-lang/dart-syntax-highlight/commit/9d4857e114b7000d94232d83187ad142961c678a",
"name": "Dart",
"scopeName": "source.dart",
"patterns": [
@ -252,7 +252,7 @@
"function-identifier": {
"patterns": [
{
"match": "([_$]*[a-z][a-zA-Z0-9_$]*)(<(?:[a-zA-Z0-9_$<>?]|,\\s*|\\s+extends\\s+)+>)?(\\(|\\s+=>)",
"match": "([_$]*[a-z][a-zA-Z0-9_$]*)(<(?:[a-zA-Z0-9_$<>?]|,\\s*|\\s+extends\\s+)+>)?[!?]?(\\(|\\s+=>)",
"captures": {
"1": {
"name": "entity.name.function.dart"

View File

@ -6,7 +6,7 @@
"git": {
"name": "ionide/ionide-fsgrammar",
"repositoryUrl": "https://github.com/ionide/ionide-fsgrammar",
"commitHash": "b528e4360b4cd967aa93c2f7849e459ff91d192c"
"commitHash": "8825a76681cdc14801b5d9490372ff67ec6b9711"
}
},
"license": "MIT",

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/ionide/ionide-fsgrammar/commit/b528e4360b4cd967aa93c2f7849e459ff91d192c",
"version": "https://github.com/ionide/ionide-fsgrammar/commit/8825a76681cdc14801b5d9490372ff67ec6b9711",
"name": "fsharp",
"scopeName": "source.fsharp",
"patterns": [
@ -1148,7 +1148,7 @@
},
{
"name": "namespace.open.fsharp",
"begin": "\\b(open)\\s+([[:alpha:]][[:alpha:]0-9'_]*)(?=(\\.[A-Z][[:alpha:]0-9_]*)*)",
"begin": "\\b(open type|open)\\s+([[:alpha:]][[:alpha:]0-9'_]*)(?=(\\.[A-Z][[:alpha:]0-9_]*)*)",
"end": "(\\s|$)",
"beginCaptures": {
"1": {

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/56b7270f094b036256774702e3b7f96490981190",
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/4d30ff834ec324f56291addd197aa1e423cedfdd",
"name": "JavaScript (with React support)",
"scopeName": "source.js",
"patterns": [
@ -3993,10 +3993,10 @@
"include": "#type-object"
},
{
"include": "#type-conditional"
"include": "#type-operators"
},
{
"include": "#type-operators"
"include": "#type-conditional"
},
{
"include": "#type-fn-type-parameters"
@ -4344,6 +4344,9 @@
{
"include": "#typeof-operator"
},
{
"include": "#type-infer"
},
{
"begin": "([&|])(?=\\s*\\{)",
"beginCaptures": {
@ -4375,16 +4378,31 @@
"name": "keyword.operator.ternary.js",
"match": "(\\?|\\:)"
},
{
"name": "keyword.operator.expression.infer.js",
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))infer(?=\\s+[_$[:alpha:]])"
},
{
"name": "keyword.operator.expression.import.js",
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*\\()"
}
]
},
"type-infer": {
"patterns": [
{
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(infer)\\s+([_$[:alpha:]][_$[:alnum:]]*)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?:\\s+(extends)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))?",
"name": "meta.type.infer.js",
"captures": {
"1": {
"name": "keyword.operator.expression.infer.js"
},
"2": {
"name": "entity.name.type.js"
},
"3": {
"name": "keyword.operator.expression.extends.js"
}
}
}
]
},
"type-predicate-operator": {
"patterns": [
{

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/56b7270f094b036256774702e3b7f96490981190",
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/4d30ff834ec324f56291addd197aa1e423cedfdd",
"name": "JavaScript (with React support)",
"scopeName": "source.js.jsx",
"patterns": [
@ -3993,10 +3993,10 @@
"include": "#type-object"
},
{
"include": "#type-conditional"
"include": "#type-operators"
},
{
"include": "#type-operators"
"include": "#type-conditional"
},
{
"include": "#type-fn-type-parameters"
@ -4344,6 +4344,9 @@
{
"include": "#typeof-operator"
},
{
"include": "#type-infer"
},
{
"begin": "([&|])(?=\\s*\\{)",
"beginCaptures": {
@ -4375,16 +4378,31 @@
"name": "keyword.operator.ternary.js.jsx",
"match": "(\\?|\\:)"
},
{
"name": "keyword.operator.expression.infer.js.jsx",
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))infer(?=\\s+[_$[:alpha:]])"
},
{
"name": "keyword.operator.expression.import.js.jsx",
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*\\()"
}
]
},
"type-infer": {
"patterns": [
{
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(infer)\\s+([_$[:alpha:]][_$[:alnum:]]*)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?:\\s+(extends)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))?",
"name": "meta.type.infer.js.jsx",
"captures": {
"1": {
"name": "keyword.operator.expression.infer.js.jsx"
},
"2": {
"name": "entity.name.type.js.jsx"
},
"3": {
"name": "keyword.operator.expression.extends.js.jsx"
}
}
}
]
},
"type-predicate-operator": {
"patterns": [
{

View File

@ -6,11 +6,11 @@
"git": {
"name": "jlelong/vscode-latex-basics",
"repositoryUrl": "https://github.com/jlelong/vscode-latex-basics",
"commitHash": "4ef954d31faccf96545d736a5ccc0e09d8109f12"
"commitHash": "8f2c528619535333a2ff12e321fb6f6efcba38e4"
}
},
"license": "MIT",
"version": "1.2.0",
"version": "1.3.0",
"description": "The files in syntaxes/ were originally part of https://github.com/James-Yu/LaTeX-Workshop. They have been extracted in the hope that they can useful outside of the LaTeX-Workshop extension.",
"licenseDetail": [
"Copyright (c) vscode-latex-basics authors",

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/jlelong/vscode-latex-basics/commit/4f330febaf180ed7faf3aa228d38611d8b5adbf5",
"version": "https://github.com/jlelong/vscode-latex-basics/commit/8f2c528619535333a2ff12e321fb6f6efcba38e4",
"name": "LaTeX",
"scopeName": "text.tex.latex",
"patterns": [
@ -1312,7 +1312,7 @@
"name": "meta.scope.item.latex"
},
{
"begin": "((\\\\)(?:[aA]uto|foot|full|no|short|[tT]ext|[pP]aren|[sS]mart)?[cC]ite(?:al)?(?:p|s|t|author|year(?:par)?|title)?[ANP]*\\*?)((?:(?:\\([^\\)]*\\)){0,2}(?:\\[[^\\]]*\\]){0,2}\\{[\\w:.]*\\})*)(?:(\\[)[^\\]]*(\\]))?(?:(\\[)[^\\]]*(\\]))?(\\{)",
"begin": "((\\\\)(?:[aA]uto|foot|full|no|short|[tT]ext|[pP]aren|[sS]mart)?[cC]ite(?:al)?(?:p|s|t|author|year(?:par)?|title)?[ANP]*\\*?)((?:(?:\\([^\\)]*\\)){0,2}(?:\\[[^\\]]*\\]){0,2}\\{[\\w:.]*\\})*)(?:([<\\[])[^\\]<>]*([>\\]]))?(?:(\\[)[^\\]]*(\\]))?(\\{)",
"captures": {
"1": {
"name": "keyword.control.cite.latex"

View File

@ -33,7 +33,7 @@
"git": {
"name": "microsoft/vscode-markdown-tm-grammar",
"repositoryUrl": "https://github.com/microsoft/vscode-markdown-tm-grammar",
"commitHash": "df4829558048663156abcc4235619c773335445e"
"commitHash": "84a1a8e831a74cc263f96e4dc17b7e9ba3f86c80"
}
},
"license": "MIT",

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/vscode-markdown-tm-grammar/commit/df4829558048663156abcc4235619c773335445e",
"version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/84a1a8e831a74cc263f96e4dc17b7e9ba3f86c80",
"name": "Markdown",
"scopeName": "text.html.markdown",
"patterns": [
@ -957,7 +957,7 @@
]
},
"fenced_code_block_js": {
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(js|jsx|javascript|es6|mjs|cjs|\\{\\.js.+?\\})((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(js|jsx|javascript|es6|mjs|cjs|dataviewjs|\\{\\.js.+?\\})((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
"name": "markup.fenced_code.block.markdown",
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
"beginCaptures": {

View File

@ -6,7 +6,7 @@
"git": {
"name": "TypeScript-TmLanguage",
"repositoryUrl": "https://github.com/microsoft/TypeScript-TmLanguage",
"commitHash": "56b7270f094b036256774702e3b7f96490981190"
"commitHash": "4d30ff834ec324f56291addd197aa1e423cedfdd"
}
},
"license": "MIT",

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/56b7270f094b036256774702e3b7f96490981190",
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/4d30ff834ec324f56291addd197aa1e423cedfdd",
"name": "TypeScript",
"scopeName": "source.ts",
"patterns": [
@ -4042,10 +4042,10 @@
"include": "#type-object"
},
{
"include": "#type-conditional"
"include": "#type-operators"
},
{
"include": "#type-operators"
"include": "#type-conditional"
},
{
"include": "#type-fn-type-parameters"
@ -4393,6 +4393,9 @@
{
"include": "#typeof-operator"
},
{
"include": "#type-infer"
},
{
"begin": "([&|])(?=\\s*\\{)",
"beginCaptures": {
@ -4424,16 +4427,31 @@
"name": "keyword.operator.ternary.ts",
"match": "(\\?|\\:)"
},
{
"name": "keyword.operator.expression.infer.ts",
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))infer(?=\\s+[_$[:alpha:]])"
},
{
"name": "keyword.operator.expression.import.ts",
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*\\()"
}
]
},
"type-infer": {
"patterns": [
{
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(infer)\\s+([_$[:alpha:]][_$[:alnum:]]*)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?:\\s+(extends)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))?",
"name": "meta.type.infer.ts",
"captures": {
"1": {
"name": "keyword.operator.expression.infer.ts"
},
"2": {
"name": "entity.name.type.ts"
},
"3": {
"name": "keyword.operator.expression.extends.ts"
}
}
}
]
},
"type-predicate-operator": {
"patterns": [
{

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/56b7270f094b036256774702e3b7f96490981190",
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/4d30ff834ec324f56291addd197aa1e423cedfdd",
"name": "TypeScriptReact",
"scopeName": "source.tsx",
"patterns": [
@ -3993,10 +3993,10 @@
"include": "#type-object"
},
{
"include": "#type-conditional"
"include": "#type-operators"
},
{
"include": "#type-operators"
"include": "#type-conditional"
},
{
"include": "#type-fn-type-parameters"
@ -4344,6 +4344,9 @@
{
"include": "#typeof-operator"
},
{
"include": "#type-infer"
},
{
"begin": "([&|])(?=\\s*\\{)",
"beginCaptures": {
@ -4375,16 +4378,31 @@
"name": "keyword.operator.ternary.tsx",
"match": "(\\?|\\:)"
},
{
"name": "keyword.operator.expression.infer.tsx",
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))infer(?=\\s+[_$[:alpha:]])"
},
{
"name": "keyword.operator.expression.import.tsx",
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*\\()"
}
]
},
"type-infer": {
"patterns": [
{
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(infer)\\s+([_$[:alpha:]][_$[:alnum:]]*)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?:\\s+(extends)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))?",
"name": "meta.type.infer.tsx",
"captures": {
"1": {
"name": "keyword.operator.expression.infer.tsx"
},
"2": {
"name": "entity.name.type.tsx"
},
"3": {
"name": "keyword.operator.expression.extends.tsx"
}
}
}
]
},
"type-predicate-operator": {
"patterns": [
{

View File

@ -6,12 +6,12 @@
"git": {
"name": "atom/language-xml",
"repositoryUrl": "https://github.com/atom/language-xml",
"commitHash": "507de2ee7daca60cf02e9e21fbeb92bbae73e280"
"commitHash": "7bc75dfe779ad5b35d9bf4013d9181864358cb49"
}
},
"license": "MIT",
"description": "The files syntaxes/xml.json and syntaxes/xsl.json were derived from the Atom package https://github.com/atom/language-xml which were originally converted from the TextMate bundle https://github.com/textmate/xml.tmbundle.",
"version": "0.14.0"
"version": "0.35.2"
}
],
"version": 1