Update grammars (#270045)

This commit is contained in:
Alex Ross
2025-10-06 18:03:06 +02:00
committed by GitHub
parent c2af8f92a0
commit e6cffb2136
8 changed files with 3564 additions and 3329 deletions

View File

@@ -6,7 +6,7 @@
"git": {
"name": "dotnet/csharp-tmLanguage",
"repositoryUrl": "https://github.com/dotnet/csharp-tmLanguage",
"commitHash": "1381bedfb087c18aca67af8278050d11bc9d9349"
"commitHash": "c32388ec18690abefb37cbaffa687a338c87d016"
}
},
"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/1381bedfb087c18aca67af8278050d11bc9d9349",
"version": "https://github.com/dotnet/csharp-tmLanguage/commit/c32388ec18690abefb37cbaffa687a338c87d016",
"name": "C#",
"scopeName": "source.cs",
"patterns": [
@@ -3423,7 +3423,7 @@
]
},
"interpolation": {
"name": "meta.interpolation.cs",
"name": "meta.embedded.interpolation.cs",
"begin": "(?<=[^\\{]|^)((?:\\{\\{)*)(\\{)(?=[^\\{])",
"beginCaptures": {
"1": {
@@ -3578,7 +3578,7 @@
}
},
"raw-interpolation": {
"name": "meta.interpolation.cs",
"name": "meta.embedded.interpolation.cs",
"begin": "(?<=[^\\{]|^)((?:\\{)*)(\\{)(?=[^\\{])",
"beginCaptures": {
"1": {
@@ -3601,7 +3601,7 @@
]
},
"double-raw-interpolation": {
"name": "meta.interpolation.cs",
"name": "meta.embedded.interpolation.cs",
"begin": "(?<=[^\\{][^\\{]|^)((?:\\{)*)(\\{\\{)(?=[^\\{])",
"beginCaptures": {
"1": {

View File

@@ -6,7 +6,7 @@
"git": {
"name": "ionide/ionide-fsgrammar",
"repositoryUrl": "https://github.com/ionide/ionide-fsgrammar",
"commitHash": "be3c51d2c28d3aaacd89ecd067e766bebe387f89"
"commitHash": "0cb968a4b8fdb2e0656b95342cdffbeff04a1248"
}
},
"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/be3c51d2c28d3aaacd89ecd067e766bebe387f89",
"version": "https://github.com/ionide/ionide-fsgrammar/commit/0cb968a4b8fdb2e0656b95342cdffbeff04a1248",
"name": "fsharp",
"scopeName": "source.fsharp",
"patterns": [
@@ -1831,7 +1831,7 @@
"patterns": [
{
"name": "keyword.control.directive.fsharp",
"match": "\\s?(#if|#elif|#elseif|#else|#endif|#light|#nowarn)",
"match": "\\s?(#if|#elif|#elseif|#else|#endif|#light|#nowarn|#warnon)",
"captures": {}
}
]

View File

@@ -6,11 +6,11 @@
"git": {
"name": "jlelong/vscode-latex-basics",
"repositoryUrl": "https://github.com/jlelong/vscode-latex-basics",
"commitHash": "e5d3d4b46731ed37119a5296c12eee7669284eeb"
"commitHash": "84ce12aa6be384369ff218ac25efb27e6f34e78c"
}
},
"license": "MIT",
"version": "1.14.0",
"version": "1.15.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",

File diff suppressed because it is too large Load Diff

View File

@@ -6,7 +6,7 @@
"git": {
"name": "jtbandes/swift-tmlanguage",
"repositoryUrl": "https://github.com/jtbandes/swift-tmlanguage",
"commitHash": "0897d8939a82ddcf6533e9f318e5942b1265416b"
"commitHash": "45ac01d47c6d63402570c2c36bcfbadbd1c7bca6"
}
},
"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/jtbandes/swift-tmlanguage/commit/0897d8939a82ddcf6533e9f318e5942b1265416b",
"version": "https://github.com/jtbandes/swift-tmlanguage/commit/45ac01d47c6d63402570c2c36bcfbadbd1c7bca6",
"name": "Swift",
"scopeName": "source.swift",
"comment": "See swift.tmbundle/grammar-test.swift for test cases.",
@@ -939,6 +939,17 @@
{
"include": "#declarations-available-types"
},
{
"include": "#literals-numeric"
},
{
"name": "support.variable.inferred.swift",
"match": "\\b_\\b"
},
{
"name": "keyword.other.inline-array.swift",
"match": "(?<=\\s)\\bof\\b(?=\\s+[\\p{L}_\\d\\p{N}\\p{M}\\[(])"
},
{
"begin": ":",
"end": "(?=\\]|[>){}])",
@@ -980,28 +991,24 @@
},
"declarations-extension": {
"name": "meta.definition.type.$1.swift",
"begin": "\\b(extension)\\s+((?<q>`?)[\\p{L}_][\\p{L}_\\p{N}\\p{M}]*(\\k<q>))",
"begin": "\\b(extension)\\s+",
"end": "(?<=\\})",
"beginCaptures": {
"1": {
"name": "storage.type.$1.swift"
},
"2": {
}
},
"patterns": [
{
"name": "entity.name.type.swift",
"begin": "\\G(?!\\s*[:{\\n])",
"end": "(?=\\s*[:{\\n])|(?!\\G)(?=\\s*where\\b)",
"patterns": [
{
"include": "#declarations-available-types"
}
]
},
"3": {
"name": "punctuation.definition.identifier.swift"
},
"4": {
"name": "punctuation.definition.identifier.swift"
}
},
"patterns": [
{
"include": "#comments"
},
@@ -1159,8 +1166,8 @@
},
"patterns": [
{
"match": "\\bsending\\b",
"name": "storage.modifier.swift"
"name": "storage.modifier.swift",
"match": "\\bsending\\b"
},
{
"include": "#declarations-available-types"
@@ -1754,8 +1761,8 @@
"end": "(?=[,)])",
"patterns": [
{
"match": "\\bsending\\b",
"name": "storage.modifier.swift"
"name": "storage.modifier.swift",
"match": "\\bsending\\b"
},
{
"include": "#declarations-available-types"
@@ -2834,6 +2841,10 @@
"name": "keyword.control.loop.swift",
"match": "(?<!\\.)\\b(?:while|for|in|each)\\b"
},
{
"name": "keyword.other.inline-array.swift",
"match": "(?<=\\s)\\bof\\b(?=\\s+[\\p{L}_\\d\\p{N}\\p{M}\\[(])"
},
{
"name": "keyword.other.operator.type.existential.swift",
"match": "\\bany\\b(?=\\s*`?[\\p{L}_])"
@@ -3992,7 +4003,7 @@
"contentName": "source.swift",
"name": "meta.embedded.line.swift",
"begin": "\\\\#\\(",
"end": "(\\))",
"end": "\\)",
"beginCaptures": {
"0": {
"name": "punctuation.section.embedded.begin.swift"
@@ -4001,9 +4012,6 @@
"endCaptures": {
"0": {
"name": "punctuation.section.embedded.end.swift"
},
"1": {
"name": "source.swift"
}
},
"patterns": [
@@ -4037,7 +4045,7 @@
"contentName": "source.swift",
"name": "meta.embedded.line.swift",
"begin": "\\\\\\(",
"end": "(\\))",
"end": "\\)",
"beginCaptures": {
"0": {
"name": "punctuation.section.embedded.begin.swift"
@@ -4046,9 +4054,6 @@
"endCaptures": {
"0": {
"name": "punctuation.section.embedded.end.swift"
},
"1": {
"name": "source.swift"
}
},
"patterns": [