Update grammars (#305181)

This commit is contained in:
Alex Ross
2026-03-26 17:35:55 +01:00
committed by GitHub
parent cae186c9f8
commit 84f7ab5aa0
10 changed files with 179 additions and 37 deletions

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/1f62731d63abfd134e03f4744fcbccadac4e0153",
"version": "https://github.com/jlelong/vscode-latex-basics/commit/3eb98ef3aeceedbe3366d6a5192ad6d2948721e8",
"name": "LaTeX",
"scopeName": "text.tex.latex",
"patterns": [
@@ -3619,6 +3619,23 @@
}
]
},
"unbalanced-env": {
"patterns": [
{
"match": "(\\s*\\\\(?:begin|end)\\{(\\p{Alphabetic}+\\*?)\\})",
"captures": {
"1": {
"patterns": [
{
"include": "#macro-with-args-tokenizer"
}
]
}
},
"name": "meta.function.environment.general.latex"
}
]
},
"all-balanced-env": {
"patterns": [
{
@@ -3878,6 +3895,9 @@
{
"include": "#documentclass-usepackage-macro"
},
{
"include": "#unbalanced-env"
},
{
"include": "#input-macro"
},