Skip to content

Commit

Permalink
Update grammar files to jlelong/vscode-latex-basics@8624d0b
Browse files Browse the repository at this point in the history
  • Loading branch information
jlelong committed Apr 20, 2024
1 parent 4fac997 commit 12c3ff6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions syntax/TeX.tmLanguage.json
Expand Up @@ -2,22 +2,22 @@
"name": "TeX",
"patterns": [
{
"begin": "(\\\\)iffalse",
"begin": "(?<=^\\s*)((\\\\)iffalse)",
"beginCaptures": {
"0": {
"1": {
"name": "keyword.control.tex"
},
"1": {
"2": {
"name": "punctuation.definition.keyword.tex"
}
},
"contentName": "comment.line.percentage.tex",
"end": "(\\\\)(else|fi)",
"end": "(?<=^\\s*)((\\\\)(?:else|fi))",
"endCaptures": {
"0": {
"1": {
"name": "keyword.control.tex"
},
"1": {
"2": {
"name": "punctuation.definition.keyword.tex"
}
},
Expand Down Expand Up @@ -167,8 +167,8 @@
]
},
"conditionals": {
"begin": "\\\\(if[a-z]*)",
"end": "\\\\fi",
"begin": "(?<=^\\s*)\\\\if[a-z]*",
"end": "(?<=^\\s*)\\\\fi",
"patterns": [
{
"include": "#comment"
Expand Down
2 changes: 1 addition & 1 deletion syntax/cpp-grammar-bailout.tmLanguage.json

Large diffs are not rendered by default.

0 comments on commit 12c3ff6

Please sign in to comment.