File tree 3 files changed +94
-0
lines changed 3 files changed +94
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <settings >
4
+
5
+ <setting name =" comment-singleline-start" >
6
+ <syntax-context >latex, latex *</syntax-context >
7
+ <value >\%</value >
8
+ </setting >
9
+
10
+ </settings >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <settings >
3
+ <language id =" Sugar.latex" >
4
+ <name >LaTeX</name >
5
+ <root-zone >text.latex</root-zone >
6
+
7
+ <detectors >
8
+ <extension casesensitive =" false" >tex</extension >
9
+ </detectors >
10
+ </language >
11
+ </settings >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <syntax name =" text.latex" >
3
+ <zones >
4
+
5
+ <zone name =" heading.latex" >
6
+ <starts-with >
7
+ <expression >^(\\)(section|subsection|subsubsection|chapter|part)</expression >
8
+ <capture number =" 0" name =" tag.open.heading.textile" />
9
+ <capture number =" 1" name =" function.latex" />
10
+ <capture number =" 2" name =" entity.name" />
11
+ </starts-with >
12
+ <ends-with >
13
+ <expression >^$</expression >
14
+
15
+ </ends-with >
16
+ </zone >
17
+
18
+ <zone name =" function.latex" >
19
+ <starts-with >
20
+ <expression >(\\)([a-z]*)</expression >
21
+ <capture number =" 0" name =" delimiter.latex" />
22
+ <capture number =" 1" name =" function.latex" />
23
+ <capture number =" 2" name =" string.latex" />
24
+ </starts-with >
25
+ <ends-with >
26
+ <expression >\}</expression >
27
+
28
+ </ends-with >
29
+ </zone >
30
+
31
+ <zone name =" function.latex" >
32
+ <starts-with >
33
+ <expression >(\\)([a-z]*)</expression >
34
+ </starts-with >
35
+ <ends-with >
36
+ <expression >^$</expression >
37
+
38
+ </ends-with >
39
+ </zone >
40
+
41
+
42
+ <zone name =" comment.latex" >
43
+ <starts-with >
44
+ <expression >\%</expression >
45
+ </starts-with >
46
+ <ends-with >
47
+ <expression >^$</expression >
48
+
49
+ </ends-with >
50
+ </zone >
51
+
52
+ <zone name =" function.latex" >
53
+ <starts-with >
54
+ <expression >\\\\</expression >
55
+ </starts-with >
56
+ <ends-with >
57
+ <expression >^$</expression >
58
+
59
+ </ends-with >
60
+ </zone >
61
+
62
+
63
+
64
+
65
+
66
+
67
+ </zones >
68
+ <library >
69
+ <collection name =" span-attributes" >
70
+
71
+ </collection >
72
+ </library >
73
+ </syntax >
You can’t perform that action at this time.
0 commit comments