Update grammars (#242296)

This commit is contained in:
Alex Ross 2025-02-28 13:20:44 +01:00 committed by GitHub
parent 4cf2712386
commit a267073204
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 169 additions and 116 deletions

View File

@ -6,7 +6,7 @@
"git": {
"name": "dotnet/csharp-tmLanguage",
"repositoryUrl": "https://github.com/dotnet/csharp-tmLanguage",
"commitHash": "62026a70f9fcc42d9222eccfec34ed5ee0784f3d"
"commitHash": "1381bedfb087c18aca67af8278050d11bc9d9349"
}
},
"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/dotnet/csharp-tmLanguage/commit/62026a70f9fcc42d9222eccfec34ed5ee0784f3d",
"version": "https://github.com/dotnet/csharp-tmLanguage/commit/1381bedfb087c18aca67af8278050d11bc9d9349",
"name": "C#",
"scopeName": "source.cs",
"patterns": [
@ -714,11 +714,11 @@
},
"enum-declaration": {
"begin": "(?=\\benum\\b)",
"end": "(?<=\\})",
"end": "(?<=\\})|(?=;)",
"patterns": [
{
"begin": "(?=enum)",
"end": "(?=\\{)",
"end": "(?=\\{)|(?=;)",
"patterns": [
{
"include": "#comment"
@ -805,7 +805,7 @@
},
"interface-declaration": {
"begin": "(?=\\binterface\\b)",
"end": "(?<=\\})",
"end": "(?<=\\})|(?=;)",
"patterns": [
{
"begin": "(?x)\n(interface)\\b\\s+\n(@?[_[:alpha:]][_[:alnum:]]*)",
@ -817,7 +817,7 @@
"name": "entity.name.type.interface.cs"
}
},
"end": "(?=\\{)",
"end": "(?=\\{)|(?=;)",
"patterns": [
{
"include": "#comment"

View File

@ -6,11 +6,11 @@
"git": {
"name": "jlelong/vscode-latex-basics",
"repositoryUrl": "https://github.com/jlelong/vscode-latex-basics",
"commitHash": "dfa69a16a1154dbc820dc1111d72faa6954dd1e2"
"commitHash": "df6ef817c932d24da5cc72927344a547e463cc65"
}
},
"license": "MIT",
"version": "1.10.0",
"version": "1.9.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/7a35f5e0f19b28f5f1366579e2a9ad34df4f40c9",
"version": "https://github.com/jlelong/vscode-latex-basics/commit/7b75bae583f3f9802c533e021f882428872c572c",
"name": "LaTeX",
"scopeName": "text.tex.latex",
"patterns": [
@ -2349,16 +2349,16 @@
]
}
},
"contentName": "meta.embedded.markdown_latex_combined",
"contentName": "meta.embedded.internal_only_markdown_latex_combined",
"end": "(\\\\end\\{markdown\\})",
"patterns": [
{
"include": "text.tex.markdown_latex_combined"
"include": "text.tex.internal_only_markdown_latex_combined"
}
]
},
{
"begin": "(\\s*\\\\begin\\{(\\w+\\*?)\\})",
"begin": "(\\s*\\\\begin\\{(\\p{Alphabetic}+\\*?)\\})",
"captures": {
"1": {
"patterns": [
@ -3192,7 +3192,7 @@
"name": "punctuation.definition.arguments.end.latex"
}
},
"match": "\\s*((\\\\)(?:begin|end))(\\{)([a-zA-Z]*\\*?)(\\})(?:(\\[)([^\\]]*)(\\])){,2}(?:(\\{)([^{}]*)(\\}))?"
"match": "\\s*((\\\\)(?:begin|end))(\\{)(\\p{Alphabetic}+\\*?)(\\})(?:(\\[)([^\\]]*)(\\])){,2}(?:(\\{)([^{}]*)(\\}))?"
},
"definition-label": {
"begin": "((\\\\)z?label)((?:\\[[^\\[]*?\\])*)(\\{)",

View File

@ -4,9 +4,9 @@
"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/dfa69a16a1154dbc820dc1111d72faa6954dd1e2",
"version": "https://github.com/jlelong/vscode-latex-basics/commit/ed0a6d72377d89eb90280f4159f2d6cdbd63a3a3",
"name": "Markdown",
"scopeName": "text.tex.markdown_latex_combined",
"scopeName": "text.tex.internal_only_markdown_latex_combined",
"patterns": [
{
"include": "text.tex.latex"

View File

@ -6,7 +6,7 @@
"git": {
"name": "Shopify/ruby-lsp",
"repositoryUrl": "https://github.com/Shopify/ruby-lsp",
"commitHash": "01a8ecf608b7d8607adcd89c32db72ae3852f33b"
"commitHash": "958bb1aa0c7aa4b6119c947b69afa7f12b19dceb"
}
},
"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/Shopify/ruby-lsp/commit/01a8ecf608b7d8607adcd89c32db72ae3852f33b",
"version": "https://github.com/Shopify/ruby-lsp/commit/958bb1aa0c7aa4b6119c947b69afa7f12b19dceb",
"name": "Ruby",
"scopeName": "source.ruby",
"patterns": [
@ -30,7 +30,7 @@
}
},
"comment": "class Namespace::ClassName < OtherNamespace::OtherClassName",
"match": "\b(class)\\s+(([a-zA-Z0-9_]+)((::)[a-zA-Z0-9_]+)*)\\s*((<)\\s*(([a-zA-Z0-9_]+)((::)[a-zA-Z0-9_]+)*))?",
"match": "\\b(class)\\s+(([a-zA-Z0-9_]+)((::)[a-zA-Z0-9_]+)*)\\s*((<)\\s*(([a-zA-Z0-9_]+)((::)[a-zA-Z0-9_]+)*))?",
"name": "meta.class.ruby"
},
{
@ -45,7 +45,7 @@
"name": "punctuation.separator.namespace.ruby"
}
},
"match": "\b(module)\\s+(([a-zA-Z0-9_]+)((::)[a-zA-Z0-9_]+)*)",
"match": "\\b(module)\\s+(([a-zA-Z0-9_]+)((::)[a-zA-Z0-9_]+)*)",
"name": "meta.module.ruby"
},
{
@ -57,7 +57,7 @@
"name": "punctuation.separator.inheritance.ruby"
}
},
"match": "\b(class)\\s*(<<)\\s*",
"match": "\\b(class)\\s*(<<)\\s*",
"name": "meta.class.ruby"
},
{
@ -125,7 +125,7 @@
"name": "variable.ruby"
}
},
"match": "^\\s*([a-z]([A-Za-z0-9_])*)\\s*=[^=>]",
"match": "^\\s*([a-z]([A-Za-z0-9_])*)\\s*(?==[^=>])",
"comment": "A local variable assignment"
},
{
@ -2211,7 +2211,7 @@
]
},
{
"begin": "(?<={|{\\s|[^A-Za-z0-9_:@$]do|^do|[^A-Za-z0-9_:@$]do\\s|^do\\s)(\\|)",
"begin": "(?<={|{\\s+|[^A-Za-z0-9_:@$]do|^do|[^A-Za-z0-9_:@$]do\\s+|^do\\s+)(\\|)",
"name": "meta.block.parameters.ruby",
"captures": {
"1": {
@ -2225,16 +2225,13 @@
"end": "(?=,|\\|\\s*)",
"patterns": [
{
"match": "\\G([&*]?)([a-zA-Z][\\w_]*)|(_[\\w_]*)",
"match": "\\G((?:&|\\*\\*?)?)([a-zA-Z_][\\w_]*)",
"captures": {
"1": {
"name": "storage.type.variable.ruby"
},
"2": {
"name": "variable.other.block.ruby"
},
"3": {
"name": "variable.other.block.unused.ruby variable.other.constant.ruby"
}
}
}

View File

@ -6,12 +6,12 @@
"git": {
"name": "atom/language-sass",
"repositoryUrl": "https://github.com/atom/language-sass",
"commitHash": "f52ab12f7f9346cc2568129d8c4419bd3d506b47"
"commitHash": "303bbf0c250fe380b9e57375598cfd916110758b"
}
},
"license": "MIT",
"description": "The file syntaxes/scss.json was derived from the Atom package https://github.com/atom/language-sass which was originally converted from the TextMate bundle https://github.com/alexsancho/SASS.tmbundle.",
"version": "0.62.1"
"version": "0.61.4"
}
],
"version": 1

View File

@ -6,11 +6,11 @@
"git": {
"name": "microsoft/vscode-mssql",
"repositoryUrl": "https://github.com/microsoft/vscode-mssql",
"commitHash": "49eff02f68b6ee73025c6665c672ca1c93385dde"
"commitHash": "d07e0f838eabff968e4387841427d3c3af8aeec6"
}
},
"license": "MIT",
"version": "1.23.0"
"version": "1.29.0"
}
],
"version": 1

File diff suppressed because one or more lines are too long

View File

@ -113,7 +113,7 @@
},
{
"c": "module",
"t": "source.ruby keyword.control.ruby",
"t": "source.ruby meta.module.ruby keyword.control.module.ruby",
"r": {
"dark_plus": "keyword.control: #C586C0",
"light_plus": "keyword.control: #AF00DB",
@ -127,7 +127,7 @@
},
{
"c": " ",
"t": "source.ruby",
"t": "source.ruby meta.module.ruby",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -140,50 +140,22 @@
}
},
{
"c": "Azure",
"t": "source.ruby support.class.ruby",
"c": "Azure::ARM",
"t": "source.ruby meta.module.ruby entity.name.type.module.ruby",
"r": {
"dark_plus": "support.class: #4EC9B0",
"light_plus": "support.class: #267F99",
"dark_plus": "entity.name.type: #4EC9B0",
"light_plus": "entity.name.type: #267F99",
"dark_vs": "default: #D4D4D4",
"light_vs": "default: #000000",
"hc_black": "support.class: #4EC9B0",
"dark_modern": "support.class: #4EC9B0",
"hc_light": "support.class: #185E73",
"light_modern": "support.class: #267F99"
"hc_black": "entity.name.type: #4EC9B0",
"dark_modern": "entity.name.type: #4EC9B0",
"hc_light": "entity.name.type: #185E73",
"light_modern": "entity.name.type: #267F99"
}
},
{
"c": "::",
"t": "source.ruby punctuation.separator.namespace.ruby",
"r": {
"dark_plus": "punctuation.separator.namespace.ruby: #4EC9B0",
"light_plus": "punctuation.separator.namespace.ruby: #267F99",
"dark_vs": "default: #D4D4D4",
"light_vs": "default: #000000",
"hc_black": "punctuation.separator.namespace.ruby: #4EC9B0",
"dark_modern": "punctuation.separator.namespace.ruby: #4EC9B0",
"hc_light": "punctuation.separator.namespace.ruby: #185E73",
"light_modern": "punctuation.separator.namespace.ruby: #267F99"
}
},
{
"c": "ARM",
"t": "source.ruby support.class.ruby",
"r": {
"dark_plus": "support.class: #4EC9B0",
"light_plus": "support.class: #267F99",
"dark_vs": "default: #D4D4D4",
"light_vs": "default: #000000",
"hc_black": "support.class: #4EC9B0",
"dark_modern": "support.class: #4EC9B0",
"hc_light": "support.class: #185E73",
"light_modern": "support.class: #267F99"
}
},
{
"c": "::",
"t": "source.ruby punctuation.separator.namespace.ruby",
"t": "source.ruby meta.module.ruby entity.name.type.module.ruby punctuation.separator.namespace.ruby",
"r": {
"dark_plus": "punctuation.separator.namespace.ruby: #4EC9B0",
"light_plus": "punctuation.separator.namespace.ruby: #267F99",
@ -197,16 +169,16 @@
},
{
"c": "Scheduler",
"t": "source.ruby variable.other.constant.ruby",
"t": "source.ruby meta.module.ruby entity.name.type.module.ruby",
"r": {
"dark_plus": "variable.other.constant: #4FC1FF",
"light_plus": "variable.other.constant: #0070C1",
"dark_plus": "entity.name.type: #4EC9B0",
"light_plus": "entity.name.type: #267F99",
"dark_vs": "default: #D4D4D4",
"light_vs": "default: #000000",
"hc_black": "variable: #9CDCFE",
"dark_modern": "variable.other.constant: #4FC1FF",
"hc_light": "variable.other.constant: #02715D",
"light_modern": "variable.other.constant: #0070C1"
"hc_black": "entity.name.type: #4EC9B0",
"dark_modern": "entity.name.type: #4EC9B0",
"hc_light": "entity.name.type: #185E73",
"light_modern": "entity.name.type: #267F99"
}
},
{
@ -323,7 +295,7 @@
},
{
"c": "class",
"t": "source.ruby keyword.control.ruby",
"t": "source.ruby meta.class.ruby keyword.control.class.ruby",
"r": {
"dark_plus": "keyword.control: #C586C0",
"light_plus": "keyword.control: #AF00DB",
@ -337,7 +309,7 @@
},
{
"c": " ",
"t": "source.ruby",
"t": "source.ruby meta.class.ruby",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -351,21 +323,21 @@
},
{
"c": "SchedulerManagementClient",
"t": "source.ruby variable.other.constant.ruby",
"t": "source.ruby meta.class.ruby entity.name.type.class.ruby",
"r": {
"dark_plus": "variable.other.constant: #4FC1FF",
"light_plus": "variable.other.constant: #0070C1",
"dark_plus": "entity.name.type: #4EC9B0",
"light_plus": "entity.name.type: #267F99",
"dark_vs": "default: #D4D4D4",
"light_vs": "default: #000000",
"hc_black": "variable: #9CDCFE",
"dark_modern": "variable.other.constant: #4FC1FF",
"hc_light": "variable.other.constant: #02715D",
"light_modern": "variable.other.constant: #0070C1"
"hc_black": "entity.name.type: #4EC9B0",
"dark_modern": "entity.name.type: #4EC9B0",
"hc_light": "entity.name.type: #185E73",
"light_modern": "entity.name.type: #267F99"
}
},
{
"c": " ",
"t": "source.ruby",
"t": "source.ruby meta.class.ruby",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -379,21 +351,21 @@
},
{
"c": "<",
"t": "source.ruby keyword.operator.comparison.ruby",
"t": "source.ruby meta.class.ruby punctuation.separator.inheritance.ruby",
"r": {
"dark_plus": "keyword.operator: #D4D4D4",
"light_plus": "keyword.operator: #000000",
"dark_vs": "keyword.operator: #D4D4D4",
"light_vs": "keyword.operator: #000000",
"hc_black": "keyword.operator: #D4D4D4",
"dark_modern": "keyword.operator: #D4D4D4",
"hc_light": "keyword.operator: #000000",
"light_modern": "keyword.operator: #000000"
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
"dark_vs": "default: #D4D4D4",
"light_vs": "default: #000000",
"hc_black": "default: #FFFFFF",
"dark_modern": "default: #CCCCCC",
"hc_light": "default: #292929",
"light_modern": "default: #3B3B3B"
}
},
{
"c": " ",
"t": "source.ruby",
"t": "source.ruby meta.class.ruby",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -407,21 +379,21 @@
},
{
"c": "MsRestAzure",
"t": "source.ruby support.class.ruby",
"t": "source.ruby meta.class.ruby entity.other.inherited-class.ruby",
"r": {
"dark_plus": "support.class: #4EC9B0",
"light_plus": "support.class: #267F99",
"dark_plus": "entity.other.inherited-class: #4EC9B0",
"light_plus": "entity.other.inherited-class: #267F99",
"dark_vs": "default: #D4D4D4",
"light_vs": "default: #000000",
"hc_black": "support.class: #4EC9B0",
"dark_modern": "support.class: #4EC9B0",
"hc_light": "support.class: #185E73",
"light_modern": "support.class: #267F99"
"hc_black": "entity.other.inherited-class: #4EC9B0",
"dark_modern": "entity.other.inherited-class: #4EC9B0",
"hc_light": "entity.other.inherited-class: #185E73",
"light_modern": "entity.other.inherited-class: #267F99"
}
},
{
"c": "::",
"t": "source.ruby punctuation.separator.namespace.ruby",
"t": "source.ruby meta.class.ruby entity.other.inherited-class.ruby punctuation.separator.namespace.ruby",
"r": {
"dark_plus": "punctuation.separator.namespace.ruby: #4EC9B0",
"light_plus": "punctuation.separator.namespace.ruby: #267F99",
@ -435,16 +407,16 @@
},
{
"c": "AzureServiceClient",
"t": "source.ruby variable.other.constant.ruby",
"t": "source.ruby meta.class.ruby entity.other.inherited-class.ruby",
"r": {
"dark_plus": "variable.other.constant: #4FC1FF",
"light_plus": "variable.other.constant: #0070C1",
"dark_plus": "entity.other.inherited-class: #4EC9B0",
"light_plus": "entity.other.inherited-class: #267F99",
"dark_vs": "default: #D4D4D4",
"light_vs": "default: #000000",
"hc_black": "variable: #9CDCFE",
"dark_modern": "variable.other.constant: #4FC1FF",
"hc_light": "variable.other.constant: #02715D",
"light_modern": "variable.other.constant: #0070C1"
"hc_black": "entity.other.inherited-class: #4EC9B0",
"dark_modern": "entity.other.inherited-class: #4EC9B0",
"hc_light": "entity.other.inherited-class: #185E73",
"light_modern": "entity.other.inherited-class: #267F99"
}
},
{
@ -3318,7 +3290,35 @@
}
},
{
"c": " = ",
"c": " ",
"t": "source.ruby",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
"dark_vs": "default: #D4D4D4",
"light_vs": "default: #000000",
"hc_black": "default: #FFFFFF",
"dark_modern": "default: #CCCCCC",
"hc_light": "default: #292929",
"light_modern": "default: #3B3B3B"
}
},
{
"c": "=",
"t": "source.ruby keyword.operator.assignment.ruby",
"r": {
"dark_plus": "keyword.operator: #D4D4D4",
"light_plus": "keyword.operator: #000000",
"dark_vs": "keyword.operator: #D4D4D4",
"light_vs": "keyword.operator: #000000",
"hc_black": "keyword.operator: #D4D4D4",
"dark_modern": "keyword.operator: #D4D4D4",
"hc_light": "keyword.operator: #000000",
"light_modern": "keyword.operator: #000000"
}
},
{
"c": " ",
"t": "source.ruby",
"r": {
"dark_plus": "default: #D4D4D4",
@ -3472,7 +3472,35 @@
}
},
{
"c": " = ",
"c": " ",
"t": "source.ruby",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
"dark_vs": "default: #D4D4D4",
"light_vs": "default: #000000",
"hc_black": "default: #FFFFFF",
"dark_modern": "default: #CCCCCC",
"hc_light": "default: #292929",
"light_modern": "default: #3B3B3B"
}
},
{
"c": "=",
"t": "source.ruby keyword.operator.assignment.ruby",
"r": {
"dark_plus": "keyword.operator: #D4D4D4",
"light_plus": "keyword.operator: #000000",
"dark_vs": "keyword.operator: #D4D4D4",
"light_vs": "keyword.operator: #000000",
"hc_black": "keyword.operator: #D4D4D4",
"dark_modern": "keyword.operator: #D4D4D4",
"hc_light": "keyword.operator: #000000",
"light_modern": "keyword.operator: #000000"
}
},
{
"c": " ",
"t": "source.ruby",
"r": {
"dark_plus": "default: #D4D4D4",
@ -3584,7 +3612,35 @@
}
},
{
"c": " = version",
"c": " ",
"t": "source.ruby",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
"dark_vs": "default: #D4D4D4",
"light_vs": "default: #000000",
"hc_black": "default: #FFFFFF",
"dark_modern": "default: #CCCCCC",
"hc_light": "default: #292929",
"light_modern": "default: #3B3B3B"
}
},
{
"c": "=",
"t": "source.ruby keyword.operator.assignment.ruby",
"r": {
"dark_plus": "keyword.operator: #D4D4D4",
"light_plus": "keyword.operator: #000000",
"dark_vs": "keyword.operator: #D4D4D4",
"light_vs": "keyword.operator: #000000",
"hc_black": "keyword.operator: #D4D4D4",
"dark_modern": "keyword.operator: #D4D4D4",
"hc_light": "keyword.operator: #000000",
"light_modern": "keyword.operator: #000000"
}
},
{
"c": " version",
"t": "source.ruby",
"r": {
"dark_plus": "default: #D4D4D4",