mirror of
https://github.com/James-Yu/LaTeX-Workshop.git
synced 2024-10-04 15:17:59 +03:00
118 lines
2.3 KiB
JSON
118 lines
2.3 KiB
JSON
{
|
|
"name": "LaTeX-Expl3",
|
|
"patterns": [
|
|
{
|
|
"begin": "(\\$\\$|\\$)",
|
|
"beginCaptures": {
|
|
"1": {
|
|
"name": "punctuation.section.group.begin.tex"
|
|
}
|
|
},
|
|
"end": "(\\1)",
|
|
"endCaptures": {
|
|
"1": {
|
|
"name": "punctuation.section.group.end.tex"
|
|
}
|
|
},
|
|
"name": "support.class.math.tex",
|
|
"patterns": [
|
|
{
|
|
"match": "\\\\\\$",
|
|
"name": "constant.character.escape.tex"
|
|
},
|
|
{
|
|
"include": "#latex3"
|
|
},
|
|
{
|
|
"include": "text.tex#math"
|
|
},
|
|
{
|
|
"include": "$base"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"begin": "\\\\\\(",
|
|
"beginCaptures": {
|
|
"0": {
|
|
"name": "punctuation.section.group.begin.tex"
|
|
}
|
|
},
|
|
"end": "\\\\\\)",
|
|
"endCaptures": {
|
|
"0": {
|
|
"name": "punctuation.section.group.end.tex"
|
|
}
|
|
},
|
|
"name": "support.class.math.tex",
|
|
"patterns": [
|
|
{
|
|
"include": "#latex3"
|
|
},
|
|
{
|
|
"include": "text.tex#math"
|
|
},
|
|
{
|
|
"include": "$base"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"begin": "\\\\\\[",
|
|
"beginCaptures": {
|
|
"0": {
|
|
"name": "punctuation.section.group.begin.tex"
|
|
}
|
|
},
|
|
"end": "\\\\\\]",
|
|
"endCaptures": {
|
|
"0": {
|
|
"name": "punctuation.section.group.end.tex"
|
|
}
|
|
},
|
|
"name": "support.class.math.tex",
|
|
"patterns": [
|
|
{
|
|
"include": "#latex3"
|
|
},
|
|
{
|
|
"include": "text.tex#math"
|
|
},
|
|
{
|
|
"include": "$base"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"include": "#latex3"
|
|
},
|
|
{
|
|
"include": "text.tex.latex"
|
|
}
|
|
],
|
|
"repository": {
|
|
"latex3": {
|
|
"patterns": [
|
|
{
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.function.expl.latex"
|
|
}
|
|
},
|
|
"match": "(\\\\|\\.)[\\w@]+:\\w*",
|
|
"name": "keyword.control.expl.latex"
|
|
},
|
|
{
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.variable.expl.latex"
|
|
}
|
|
},
|
|
"match": "(\\\\)[\\w@]+_[\\w@]+",
|
|
"name": "variable.expl.latex"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"scopeName": "text.tex.latex.expl3"
|
|
} |