Skip to content

Commit 826cb21

Browse files
committed
Add dark theme syntax highlighting for Ada
1 parent b0e4e2c commit 826cb21

1 file changed

Lines changed: 136 additions & 0 deletions

File tree

  • QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark
Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<SyntaxDefinition name="Ada" extensions=".ada;.ads;.adb">
4+
5+
<Environment>
6+
<Default color="#D4D4D4" bgcolor="#1E1E1E"/>
7+
<Selection color="#D4D4D4" bgcolor="#264F78"/>
8+
<LineNumbers color="#858585" bgcolor="#1E1E1E"/>
9+
<CaretMarker color="#AEAFAD"/>
10+
<VRuler color="#333337"/>
11+
12+
<FoldLine color="#444444" bgcolor="#1E1E1E"/>
13+
<FoldMarker color="#D4D4D4" bgcolor="#2D2D2D"/>
14+
<SelectedFoldLine color="#D4D4D4" bgcolor="#2D2D2D"/>
15+
16+
<EOLMarkers color="#404040"/>
17+
<SpaceMarkers color="#404040"/>
18+
<TabMarkers color="#404040"/>
19+
<InvalidLines color="#B6B6C0"/>
20+
</Environment>
21+
22+
<Properties>
23+
<Property name="LineComment" value="--"/>
24+
</Properties>
25+
26+
<Digits name="Digits" color="#B5CEA8"/>
27+
28+
<RuleSets>
29+
<RuleSet ignorecase="true">
30+
31+
<Delimiters>~!@%^*()-+=|\/{}[]:;"'&lt;&gt;,.?</Delimiters>
32+
33+
<Span name="LineComment" stopateol="true" color="#6A9955" bold="false" italic="false">
34+
<Begin>--</Begin>
35+
</Span>
36+
37+
<Span name="String" stopateol="true" color="#CE9178" bold="false" italic="false" escapecharacter="\">
38+
<Begin>"</Begin>
39+
<End>"</End>
40+
</Span>
41+
42+
<Span name="Char" stopateol="true" color="#CE9178" bold="false" italic="false">
43+
<Begin singleword="true">'</Begin>
44+
<End>'</End>
45+
</Span>
46+
47+
<MarkFollowing color="#F44747" bold="false" italic="false">'</MarkFollowing>
48+
<MarkFollowing color="#569CD6" bold="false" italic="false">procedure</MarkFollowing>
49+
50+
<KeyWords name="Keywords1" color="#569CD6" bold="false" italic="false">
51+
<Key word="abort"/>
52+
<Key word="abstract"/>
53+
<Key word="accept"/>
54+
<Key word="access"/>
55+
<Key word="aliased"/>
56+
<Key word="all"/>
57+
<Key word="array"/>
58+
<Key word="boolean"/>
59+
<Key word="begin"/>
60+
<Key word="body"/>
61+
<Key word="case"/>
62+
<Key word="character"/>
63+
<Key word="constant"/>
64+
<Key word="declare"/>
65+
<Key word="delay"/>
66+
<Key word="delta"/>
67+
<Key word="digits"/>
68+
<Key word="do"/>
69+
<Key word="else"/>
70+
<Key word="elsif"/>
71+
<Key word="end"/>
72+
<Key word="entry"/>
73+
<Key word="exception"/>
74+
<Key word="exit"/>
75+
<Key word="false"/>
76+
<Key word="for"/>
77+
<Key word="function"/>
78+
<Key word="generic"/>
79+
<Key word="goto"/>
80+
<Key word="if"/>
81+
<Key word="in"/>
82+
<Key word="integer"/>
83+
<Key word="interface"/>
84+
<Key word="is"/>
85+
<Key word="limited"/>
86+
<Key word="loop"/>
87+
<Key word="new"/>
88+
<Key word="null"/>
89+
<Key word="of"/>
90+
<Key word="others"/>
91+
<Key word="out"/>
92+
<Key word="overriding"/>
93+
<Key word="package"/>
94+
<Key word="pragma"/>
95+
<Key word="private"/>
96+
<Key word="procedure"/>
97+
<Key word="protected"/>
98+
<Key word="raise"/>
99+
<Key word="range"/>
100+
<Key word="real"/>
101+
<Key word="record"/>
102+
<Key word="renames"/>
103+
<Key word="requeue"/>
104+
<Key word="return"/>
105+
<Key word="reverse"/>
106+
<Key word="select"/>
107+
<Key word="separate"/>
108+
<Key word="some"/>
109+
<Key word="subtype"/>
110+
<Key word="synchronized"/>
111+
<Key word="tagged"/>
112+
<Key word="task"/>
113+
<Key word="terminate"/>
114+
<Key word="then"/>
115+
<Key word="true"/>
116+
<Key word="type"/>
117+
<Key word="until"/>
118+
<Key word="use"/>
119+
<Key word="when"/>
120+
<Key word="while"/>
121+
<Key word="with"/>
122+
</KeyWords>
123+
124+
<KeyWords name="Keywords2" color="#C586C0" bold="false" italic="false">
125+
<Key word="abs"/>
126+
<Key word="and"/>
127+
<Key word="at"/>
128+
<Key word="mod"/>
129+
<Key word="not"/>
130+
<Key word="or"/>
131+
<Key word="rem"/>
132+
<Key word="xor"/>
133+
</KeyWords>
134+
</RuleSet>
135+
</RuleSets>
136+
</SyntaxDefinition>

0 commit comments

Comments
 (0)