mirror of
https://github.com/James-Yu/LaTeX-Workshop.git
synced 2025-01-07 09:47:04 +03:00
Update grammar files to jlelong/vscode-latex-basics@3ee9a1f346
This commit is contained in:
parent
297430455b
commit
e963077072
@ -2056,7 +2056,7 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"contentName": "punctuation.definition.comment.latex",
|
||||
"contentName": "comment.line.percentage.latex",
|
||||
"end": "(\\\\end\\{\\2\\})",
|
||||
"name": "meta.function.verbatim.latex"
|
||||
},
|
||||
|
@ -1995,7 +1995,7 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"contentName": "punctuation.definition.comment.latex",
|
||||
"contentName": "comment.line.percentage.latex",
|
||||
"end": "(\\\\end\\{\\2\\})",
|
||||
"name": "meta.function.verbatim.latex"
|
||||
},
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "TeX",
|
||||
"patterns": [
|
||||
{
|
||||
"begin": "(?<=^\\s*)((\\\\)iffalse)",
|
||||
"begin": "(?<=^\\s*)((\\\\)iffalse)(?!\\s*[{}]\\s*\\\\fi)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "keyword.control.tex"
|
||||
@ -12,7 +12,7 @@
|
||||
}
|
||||
},
|
||||
"contentName": "comment.line.percentage.tex",
|
||||
"end": "(?<=^\\s*)((\\\\)(?:else|fi))",
|
||||
"end": "((\\\\)(?:else|fi))",
|
||||
"endCaptures": {
|
||||
"1": {
|
||||
"name": "keyword.control.tex"
|
||||
@ -25,6 +25,9 @@
|
||||
{
|
||||
"include": "#comment"
|
||||
},
|
||||
{
|
||||
"include": "#braces"
|
||||
},
|
||||
{
|
||||
"include": "#conditionals"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user