Update grammars (#229924)

This commit is contained in:
Alex Ross
2024-09-27 10:27:11 +02:00
committed by GitHub
parent 2d10b8159a
commit e67b1982e1
11 changed files with 24 additions and 99 deletions

View File

@@ -4,12 +4,12 @@
"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/5d7c2a4e451a932b776f6d9342087be6a1e8c0a1",
"version": "https://github.com/jlelong/vscode-latex-basics/commit/df6ef817c932d24da5cc72927344a547e463cc65",
"name": "TeX",
"scopeName": "text.tex",
"patterns": [
{
"begin": "(?<=^\\s*)((\\\\)iffalse)",
"begin": "(?<=^\\s*)((\\\\)iffalse)(?!\\s*[{}]\\s*\\\\fi)",
"beginCaptures": {
"1": {
"name": "keyword.control.tex"
@@ -19,7 +19,7 @@
}
},
"contentName": "comment.line.percentage.tex",
"end": "(?<=^\\s*)((\\\\)(?:else|fi))",
"end": "((\\\\)(?:else|fi))",
"endCaptures": {
"1": {
"name": "keyword.control.tex"
@@ -32,6 +32,9 @@
{
"include": "#comment"
},
{
"include": "#braces"
},
{
"include": "#conditionals"
}