tm-grammars 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -0
- package/NOTICE +6565 -0
- package/README.md +211 -0
- package/grammars/abap.json +380 -0
- package/grammars/actionscript-3.json +951 -0
- package/grammars/ada.json +3874 -0
- package/grammars/apache.json +562 -0
- package/grammars/apex.json +3203 -0
- package/grammars/apl.json +1479 -0
- package/grammars/applescript.json +1406 -0
- package/grammars/ara.json +428 -0
- package/grammars/asm.json +1741 -0
- package/grammars/astro.json +776 -0
- package/grammars/awk.json +388 -0
- package/grammars/ballerina.json +3768 -0
- package/grammars/bat.json +783 -0
- package/grammars/beancount.json +831 -0
- package/grammars/berry.json +172 -0
- package/grammars/bibtex.json +315 -0
- package/grammars/bicep.json +239 -0
- package/grammars/blade.json +3870 -0
- package/grammars/c.json +3552 -0
- package/grammars/cadence.json +738 -0
- package/grammars/clarity.json +877 -0
- package/grammars/clojure.json +426 -0
- package/grammars/cmake.json +143 -0
- package/grammars/cobol.json +1124 -0
- package/grammars/codeql.json +1540 -0
- package/grammars/coffee.json +1311 -0
- package/grammars/cpp-macro.json +9498 -0
- package/grammars/cpp.json +16635 -0
- package/grammars/crystal.json +1866 -0
- package/grammars/csharp.json +5722 -0
- package/grammars/css.json +1860 -0
- package/grammars/csv.json +46 -0
- package/grammars/cue.json +1128 -0
- package/grammars/cypher.json +353 -0
- package/grammars/d.json +3185 -0
- package/grammars/dart.json +522 -0
- package/grammars/dax.json +185 -0
- package/grammars/diff.json +155 -0
- package/grammars/docker.json +97 -0
- package/grammars/dream-maker.json +640 -0
- package/grammars/elixir.json +1014 -0
- package/grammars/elm.json +751 -0
- package/grammars/erb.json +156 -0
- package/grammars/erlang.json +1757 -0
- package/grammars/fish.json +189 -0
- package/grammars/fsharp.json +1831 -0
- package/grammars/gdresource.json +290 -0
- package/grammars/gdscript.json +969 -0
- package/grammars/gdshader.json +405 -0
- package/grammars/gherkin.json +133 -0
- package/grammars/git-commit.json +85 -0
- package/grammars/git-rebase.json +56 -0
- package/grammars/glimmer-js.json +98 -0
- package/grammars/glimmer-ts.json +98 -0
- package/grammars/glsl.json +57 -0
- package/grammars/gnuplot.json +892 -0
- package/grammars/go.json +1012 -0
- package/grammars/graphql.json +1295 -0
- package/grammars/groovy.json +1378 -0
- package/grammars/hack.json +2650 -0
- package/grammars/haml.json +598 -0
- package/grammars/handlebars.json +848 -0
- package/grammars/haskell.json +2431 -0
- package/grammars/hcl.json +787 -0
- package/grammars/hjson.json +821 -0
- package/grammars/hlsl.json +212 -0
- package/grammars/html.json +93 -0
- package/grammars/imba.json +2696 -0
- package/grammars/ini.json +108 -0
- package/grammars/java.json +1885 -0
- package/grammars/javascript.json +5984 -0
- package/grammars/jinja-html.json +16 -0
- package/grammars/jinja.json +345 -0
- package/grammars/jison.json +715 -0
- package/grammars/jsdoc.json +21 -0
- package/grammars/json.json +208 -0
- package/grammars/json5.json +244 -0
- package/grammars/jsonc.json +208 -0
- package/grammars/jsonl.json +208 -0
- package/grammars/jsonnet.json +211 -0
- package/grammars/jssm.json +159 -0
- package/grammars/jsx.json +5984 -0
- package/grammars/julia.json +1061 -0
- package/grammars/kotlin.json +580 -0
- package/grammars/kusto.json +687 -0
- package/grammars/latex.json +2395 -0
- package/grammars/less.json +5012 -0
- package/grammars/liquid.json +990 -0
- package/grammars/lisp.json +121 -0
- package/grammars/logo.json +55 -0
- package/grammars/lua.json +956 -0
- package/grammars/make.json +629 -0
- package/grammars/markdown.json +3066 -0
- package/grammars/marko.json +1344 -0
- package/grammars/matlab.json +1131 -0
- package/grammars/mdc.json +571 -0
- package/grammars/mdx.json +5629 -0
- package/grammars/mermaid.json +1382 -0
- package/grammars/mojo.json +4153 -0
- package/grammars/narrat.json +227 -0
- package/grammars/nextflow.json +298 -0
- package/grammars/nginx.json +2121 -0
- package/grammars/nim.json +1522 -0
- package/grammars/nix.json +1200 -0
- package/grammars/nushell.json +1047 -0
- package/grammars/objective-c.json +3750 -0
- package/grammars/objective-cpp.json +7242 -0
- package/grammars/ocaml.json +2967 -0
- package/grammars/pascal.json +154 -0
- package/grammars/perl.json +2971 -0
- package/grammars/php.json +4024 -0
- package/grammars/plsql.json +241 -0
- package/grammars/postcss.json +377 -0
- package/grammars/powerquery.json +349 -0
- package/grammars/powershell.json +1024 -0
- package/grammars/prisma.json +443 -0
- package/grammars/prolog.json +298 -0
- package/grammars/proto.json +507 -0
- package/grammars/pug.json +1033 -0
- package/grammars/puppet.json +777 -0
- package/grammars/purescript.json +871 -0
- package/grammars/python.json +4208 -0
- package/grammars/r.json +637 -0
- package/grammars/raku.json +310 -0
- package/grammars/razor.json +1813 -0
- package/grammars/reg.json +136 -0
- package/grammars/rel.json +200 -0
- package/grammars/riscv.json +298 -0
- package/grammars/rst.json +734 -0
- package/grammars/ruby.json +2769 -0
- package/grammars/rust.json +1171 -0
- package/grammars/sas.json +302 -0
- package/grammars/sass.json +618 -0
- package/grammars/scala.json +1313 -0
- package/grammars/scheme.json +384 -0
- package/grammars/scss.json +1874 -0
- package/grammars/shaderlab.json +199 -0
- package/grammars/shellscript.json +2025 -0
- package/grammars/shellsession.json +33 -0
- package/grammars/smalltalk.json +235 -0
- package/grammars/solidity.json +1210 -0
- package/grammars/sparql.json +45 -0
- package/grammars/splunk.json +91 -0
- package/grammars/sql.json +631 -0
- package/grammars/ssh-config.json +88 -0
- package/grammars/stata.json +3050 -0
- package/grammars/stylus.json +1208 -0
- package/grammars/svelte.json +1171 -0
- package/grammars/swift.json +4203 -0
- package/grammars/system-verilog.json +1063 -0
- package/grammars/tasl.json +292 -0
- package/grammars/tcl.json +291 -0
- package/grammars/tex.json +281 -0
- package/grammars/toml.json +431 -0
- package/grammars/tsx.json +5984 -0
- package/grammars/turtle.json +261 -0
- package/grammars/twig.json +1394 -0
- package/grammars/typescript.json +5735 -0
- package/grammars/v.json +1001 -0
- package/grammars/vb.json +232 -0
- package/grammars/verilog.json +305 -0
- package/grammars/vhdl.json +1484 -0
- package/grammars/viml.json +445 -0
- package/grammars/vue-html.json +559 -0
- package/grammars/vue.json +1237 -0
- package/grammars/vyper.json +5415 -0
- package/grammars/wasm.json +831 -0
- package/grammars/wenyan.json +129 -0
- package/grammars/wgsl.json +391 -0
- package/grammars/wolfram.json +2370 -0
- package/grammars/xml.json +382 -0
- package/grammars/xsl.json +89 -0
- package/grammars/yaml.json +616 -0
- package/grammars/zenscript.json +257 -0
- package/grammars/zig.json +312 -0
- package/index.d.ts +18 -0
- package/index.js +2165 -0
- package/package.json +46 -0
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
{
|
|
2
|
+
"displayName": "TeX",
|
|
3
|
+
"name": "tex",
|
|
4
|
+
"patterns": [
|
|
5
|
+
{
|
|
6
|
+
"captures": {
|
|
7
|
+
"1": {
|
|
8
|
+
"name": "punctuation.definition.keyword.tex"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"match": "(\\\\)(backmatter|csname|else|endcsname|fi|frontmatter|mainmatter|unless|if(case|cat|csname|defined|dim|eof|false|fontchar|hbox|hmode|inner|mmode|num|odd|true|vbox|vmode|void|x)?)(?![a-zA-Z@])",
|
|
12
|
+
"name": "keyword.control.tex"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"captures": {
|
|
16
|
+
"1": {
|
|
17
|
+
"name": "keyword.control.catcode.tex"
|
|
18
|
+
},
|
|
19
|
+
"2": {
|
|
20
|
+
"name": "punctuation.definition.keyword.tex"
|
|
21
|
+
},
|
|
22
|
+
"3": {
|
|
23
|
+
"name": "punctuation.separator.key-value.tex"
|
|
24
|
+
},
|
|
25
|
+
"4": {
|
|
26
|
+
"name": "constant.numeric.category.tex"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"match": "((\\\\)catcode)`(?:\\\\)?.(=)(\\d+)",
|
|
30
|
+
"name": "meta.catcode.tex"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"begin": "(^[ \\t]+)?(?=%)",
|
|
34
|
+
"beginCaptures": {
|
|
35
|
+
"1": {
|
|
36
|
+
"name": "punctuation.whitespace.comment.leading.tex"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"end": "(?!\\G)",
|
|
40
|
+
"patterns": [
|
|
41
|
+
{
|
|
42
|
+
"begin": "%:?",
|
|
43
|
+
"beginCaptures": {
|
|
44
|
+
"0": {
|
|
45
|
+
"name": "punctuation.definition.comment.tex"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"end": "$\\n?",
|
|
49
|
+
"name": "comment.line.percentage.tex"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"begin": "^(%!TEX) (\\S*) =",
|
|
53
|
+
"beginCaptures": {
|
|
54
|
+
"1": {
|
|
55
|
+
"name": "punctuation.definition.comment.tex"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"end": "$\\n?",
|
|
59
|
+
"name": "comment.line.percentage.directive.tex"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"match": "[\\[\\]]",
|
|
65
|
+
"name": "punctuation.definition.brackets.tex"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"begin": "(\\$\\$|\\$)",
|
|
69
|
+
"beginCaptures": {
|
|
70
|
+
"1": {
|
|
71
|
+
"name": "punctuation.definition.string.begin.tex"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"end": "(\\1)",
|
|
75
|
+
"endCaptures": {
|
|
76
|
+
"1": {
|
|
77
|
+
"name": "punctuation.definition.string.end.tex"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"name": "meta.math.block.tex support.class.math.block.tex",
|
|
81
|
+
"patterns": [
|
|
82
|
+
{
|
|
83
|
+
"match": "\\\\\\$",
|
|
84
|
+
"name": "constant.character.escape.tex"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"include": "#math"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"include": "$self"
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"match": "\\\\\\\\",
|
|
96
|
+
"name": "keyword.control.newline.tex"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"captures": {
|
|
100
|
+
"1": {
|
|
101
|
+
"name": "punctuation.definition.function.tex"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"match": "(\\\\)(?:[\\p{Alphabetic}@]+|[,;])",
|
|
105
|
+
"name": "support.function.general.tex"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"captures": {
|
|
109
|
+
"1": {
|
|
110
|
+
"name": "punctuation.definition.keyword.tex"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"match": "(\\\\)[^a-zA-Z@]",
|
|
114
|
+
"name": "constant.character.escape.tex"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"repository": {
|
|
118
|
+
"braces": {
|
|
119
|
+
"begin": "(?<!\\\\)\\{",
|
|
120
|
+
"beginCaptures": {
|
|
121
|
+
"0": {
|
|
122
|
+
"name": "punctuation.group.begin.tex"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"end": "(?<!\\\\)\\}",
|
|
126
|
+
"endCaptures": {
|
|
127
|
+
"0": {
|
|
128
|
+
"name": "punctuation.group.end.tex"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"name": "meta.group.braces.tex",
|
|
132
|
+
"patterns": [
|
|
133
|
+
{
|
|
134
|
+
"include": "#braces"
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
"math": {
|
|
139
|
+
"patterns": [
|
|
140
|
+
{
|
|
141
|
+
"begin": "((\\\\)(?:text|mbox))(\\{)",
|
|
142
|
+
"beginCaptures": {
|
|
143
|
+
"1": {
|
|
144
|
+
"name": "constant.other.math.tex"
|
|
145
|
+
},
|
|
146
|
+
"2": {
|
|
147
|
+
"name": "punctuation.definition.function.tex"
|
|
148
|
+
},
|
|
149
|
+
"3": {
|
|
150
|
+
"name": "punctuation.definition.arguments.begin.tex meta.text.normal.tex"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"contentName": "meta.text.normal.tex",
|
|
154
|
+
"end": "\\}",
|
|
155
|
+
"endCaptures": {
|
|
156
|
+
"0": {
|
|
157
|
+
"name": "punctuation.definition.arguments.end.tex meta.text.normal.tex"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"patterns": [
|
|
161
|
+
{
|
|
162
|
+
"include": "#math"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"include": "$base"
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"match": "\\\\{|\\\\}",
|
|
171
|
+
"name": "punctuation.math.bracket.pair.tex"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"match": "\\\\(left|right|((big|bigg|Big|Bigg)[lr]?))([\\(\\[\\<\\>\\]\\)\\.\\|]|\\\\[{}|]|\\\\[lr]?[Vv]ert|\\\\[lr]angle)",
|
|
175
|
+
"name": "punctuation.math.bracket.pair.big.tex"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"captures": {
|
|
179
|
+
"1": {
|
|
180
|
+
"name": "punctuation.definition.constant.math.tex"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"match": "(\\\\)(s(s(earrow|warrow|lash)|h(ort(downarrow|uparrow|parallel|leftarrow|rightarrow|mid)|arp)|tar|i(gma|m(eq)?)|u(cc(sim|n(sim|approx)|curlyeq|eq|approx)?|pset(neq(q)?|plus(eq)?|eq(q)?)?|rd|m|bset(neq(q)?|plus(eq)?|eq(q)?)?)|p(hericalangle|adesuit)|e(tminus|arrow)|q(su(pset(eq)?|bset(eq)?)|c(up|ap)|uare)|warrow|m(ile|all(s(etminus|mile)|frown)))|h(slash|ook(leftarrow|rightarrow)|eartsuit|bar)|R(sh|ightarrow|e|bag)|Gam(e|ma)|n(s(hort(parallel|mid)|im|u(cc(eq)?|pseteq(q)?|bseteq))|Rightarrow|n(earrow|warrow)|cong|triangle(left(eq(slant)?)?|right(eq(slant)?)?)|i(plus)?|u|p(lus|arallel|rec(eq)?)|e(q|arrow|g|xists)|v(dash|Dash)|warrow|le(ss|q(slant|q)?|ft(arrow|rightarrow))|a(tural|bla)|VDash|rightarrow|g(tr|eq(slant|q)?)|mid|Left(arrow|rightarrow))|c(hi|irc(eq|le(d(circ|S|dash|ast)|arrow(left|right)))?|o(ng|prod|lon|mplement)|dot(s|p)?|u(p|r(vearrow(left|right)|ly(eq(succ|prec)|vee(downarrow|uparrow)?|wedge(downarrow|uparrow)?)))|enterdot|lubsuit|ap)|Xi|Maps(to(char)?|from(char)?)|B(ox|umpeq|bbk)|t(h(ick(sim|approx)|e(ta|refore))|imes|op|wohead(leftarrow|rightarrow)|a(u|lloblong)|riangle(down|q|left(eq(slant)?)?|right(eq(slant)?)?)?)|i(n(t(er(cal|leave))?|plus|fty)?|ota|math)|S(igma|u(pset|bset))|zeta|o(slash|times|int|dot|plus|vee|wedge|lessthan|greaterthan|m(inus|ega)|b(slash|long|ar))|d(i(v(ideontimes)?|a(g(down|up)|mond(suit)?)|gamma)|o(t(plus|eq(dot)?)|ublebarwedge|wn(harpoon(left|right)|downarrows|arrow))|d(ots|agger)|elta|a(sh(v|leftarrow|rightarrow)|leth|gger))|Y(down|up|left|right)|C(up|ap)|u(n(lhd|rhd)|p(silon|harpoon(left|right)|downarrow|uparrows|lus|arrow)|lcorner|rcorner)|jmath|Theta|Im|p(si|hi|i(tchfork)?|erp|ar(tial|allel)|r(ime|o(d|pto)|ec(sim|n(sim|approx)|curlyeq|eq|approx)?)|m)|e(t(h|a)|psilon|q(slant(less|gtr)|circ|uiv)|ll|xists|mptyset)|Omega|D(iamond|ownarrow|elta)|v(d(ots|ash)|ee(bar)?|Dash|ar(s(igma|u(psetneq(q)?|bsetneq(q)?))|nothing|curly(vee|wedge)|t(heta|imes|riangle(left|right)?)|o(slash|circle|times|dot|plus|vee|wedge|lessthan|ast|greaterthan|minus|b(slash|ar))|p(hi|i|ropto)|epsilon|kappa|rho|bigcirc))|kappa|Up(silon|downarrow|arrow)|Join|f(orall|lat|a(t(s(emi|lash)|bslash)|llingdotseq)|rown)|P(si|hi|i)|w(p|edge|r)|l(hd|n(sim|eq(q)?|approx)|ceil|times|ightning|o(ng(left(arrow|rightarrow)|rightarrow|maps(to|from))|zenge|oparrow(left|right))|dot(s|p)|e(ss(sim|dot|eq(qgtr|gtr)|approx|gtr)|q(slant|q)?|ft(slice|harpoon(down|up)|threetimes|leftarrows|arrow(t(ail|riangle))?|right(squigarrow|harpoons|arrow(s|triangle|eq)?))|adsto)|vertneqq|floor|l(c(orner|eil)|floor|l|bracket)?|a(ngle|mbda)|rcorner|bag)|a(s(ymp|t)|ngle|pprox(eq)?|l(pha|eph)|rrownot|malg)|V(dash|vdash)|r(h(o|d)|ceil|times|i(singdotseq|ght(s(quigarrow|lice)|harpoon(down|up)|threetimes|left(harpoons|arrows)|arrow(t(ail|riangle))?|rightarrows))|floor|angle|r(ceil|parenthesis|floor|bracket)|bag)|g(n(sim|eq(q)?|approx)|tr(sim|dot|eq(qless|less)|less|approx)|imel|eq(slant|q)?|vertneqq|amma|g(g)?)|Finv|xi|m(ho|i(nuso|d)|o(o|dels)|u(ltimap)?|p|e(asuredangle|rge)|aps(to|from(char)?))|b(i(n(dnasrepma|ampersand)|g(s(tar|qc(up|ap))|nplus|c(irc|u(p|rly(vee|wedge))|ap)|triangle(down|up)|interleave|o(times|dot|plus)|uplus|parallel|vee|wedge|box))|o(t|wtie|x(slash|circle|times|dot|plus|empty|ast|minus|b(slash|ox|ar)))|u(llet|mpeq)|e(cause|t(h|ween|a))|lack(square|triangle(down|left|right)?|lozenge)|a(ck(s(im(eq)?|lash)|prime|epsilon)|r(o|wedge))|bslash)|L(sh|ong(left(arrow|rightarrow)|rightarrow|maps(to|from))|eft(arrow|rightarrow)|leftarrow|ambda|bag)|Arrownot)(?![a-zA-Z@])",
|
|
184
|
+
"name": "constant.character.math.tex"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"captures": {
|
|
188
|
+
"1": {
|
|
189
|
+
"name": "punctuation.definition.constant.math.tex"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"match": "(\\\\)(sum|prod|coprod|int|oint|bigcap|bigcup|bigsqcup|bigvee|bigwedge|bigodot|bigotimes|bogoplus|biguplus)\\b",
|
|
193
|
+
"name": "constant.character.math.tex"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"captures": {
|
|
197
|
+
"1": {
|
|
198
|
+
"name": "punctuation.definition.constant.math.tex"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"match": "(\\\\)(arccos|arcsin|arctan|arg|cos|cosh|cot|coth|csc|deg|det|dim|exp|gcd|hom|inf|ker|lg|lim|liminf|limsup|ln|log|max|min|pr|sec|sin|sinh|sup|tan|tanh)\\b",
|
|
202
|
+
"name": "constant.other.math.tex"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"begin": "((\\\\)Sexpr(\\{))",
|
|
206
|
+
"beginCaptures": {
|
|
207
|
+
"1": {
|
|
208
|
+
"name": "support.function.sexpr.math.tex"
|
|
209
|
+
},
|
|
210
|
+
"2": {
|
|
211
|
+
"name": "punctuation.definition.function.math.tex"
|
|
212
|
+
},
|
|
213
|
+
"3": {
|
|
214
|
+
"name": "punctuation.section.embedded.begin.math.tex"
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"contentName": "support.function.sexpr.math.tex",
|
|
218
|
+
"end": "(((\\})))",
|
|
219
|
+
"endCaptures": {
|
|
220
|
+
"1": {
|
|
221
|
+
"name": "support.function.sexpr.math.tex"
|
|
222
|
+
},
|
|
223
|
+
"2": {
|
|
224
|
+
"name": "punctuation.section.embedded.end.math.tex"
|
|
225
|
+
},
|
|
226
|
+
"3": {
|
|
227
|
+
"name": "source.r"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"name": "meta.embedded.line.r",
|
|
231
|
+
"patterns": [
|
|
232
|
+
{
|
|
233
|
+
"begin": "\\G(?!\\})",
|
|
234
|
+
"end": "(?=\\})",
|
|
235
|
+
"name": "source.r",
|
|
236
|
+
"patterns": [
|
|
237
|
+
{
|
|
238
|
+
"include": "source.r"
|
|
239
|
+
}
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"captures": {
|
|
246
|
+
"1": {
|
|
247
|
+
"name": "punctuation.definition.constant.math.tex"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
"match": "(\\\\)(?!begin\\{|verb)([A-Za-z]+)",
|
|
251
|
+
"name": "constant.other.general.math.tex"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"match": "(?<!\\\\)\\{",
|
|
255
|
+
"name": "punctuation.math.begin.bracket.curly.tex"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"match": "(?<!\\\\)\\}",
|
|
259
|
+
"name": "punctuation.math.end.bracket.curly.tex"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"match": "(?<!\\\\)\\(",
|
|
263
|
+
"name": "punctuation.math.begin.bracket.round.tex"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"match": "(?<!\\\\)\\)",
|
|
267
|
+
"name": "punctuation.math.end.bracket.round.tex"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"match": "(([0-9]*[\\.][0-9]+)|[0-9]+)",
|
|
271
|
+
"name": "constant.numeric.math.tex"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"match": "[\\+\\*/_\\^-]",
|
|
275
|
+
"name": "punctuation.math.operator.tex"
|
|
276
|
+
}
|
|
277
|
+
]
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"scopeName": "text.tex"
|
|
281
|
+
}
|