1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
# Definition of languages supported by Gengo
#
# # Format
#
# ```yaml
# # The name of the language.
# Language:
#
# # data, markup, programming, prose, or query
# category:
#
# # The color associated with the language (unused).
# color:
#
# # Regexes unique to the contents of the file to resolve multiple matches. These will
# # be used if the matchers (see below) cannot narrow down a file to a single
# # language.
# heuristics:
# - "(?m)^macro_rules!"
#
# # Entries to match against files. This is the first pass before more expensive
# # strategies are used.
# matchers:
#
# # The file extensions associated with the language (optional)
# extensions:
# - "rs"
#
# # The filenames associated with the language (optional)
# filenames:
# - "Dockerfile"
#
# # Used for checking shebangs.
# interpreters: # The interpreter(s) associated with the language (optional)
# - "python"
# - "python3"
#
# # Glob patterns associated with the language (optional)
# patterns:
# # See the format of the `glob` crate: https://docs.rs/glob/latest/glob/struct.Pattern.html
# - "__snapshots__/*.snap"
#
# # Value between 0 and 100 to pick a language if multiple matches couldn't be
# # narrowed down (optional, default: 50)
# priority: 50
# ```
#
# WARNING: Please alphabetize!
---
"C#":
category: programming
color: "#178600"
heuristics:
- "^\\s*(using\\s+[A-Z][\\s\\w.]+;|namespace\\s*[\\w\\.]+\\s*(\\{|;)|\\/\\/)"
matchers:
extensions:
- cake
- cs
- csx
CoffeeScript:
category: programming
color: "#3E2723"
matchers:
extensions:
- coffee
interpreters:
- coffee
Docker:
category: programming
color: "#2496ED"
matchers:
filenames:
- "Dockerfile"
patterns:
- "Dockerfile.*" # Dockerfile.<extension>
Go:
category: programming
color: "#00ADD8"
matchers:
extensions:
- go
GraphQL:
category: query
color: "#E10098"
matchers:
extensions:
- graphql
HTML:
category: markup
color: "#E96228"
matchers:
extensions:
- html
JSON:
category: data
color: "#AAAAAA"
matchers:
extensions:
- json
filenames:
- .all-contributorsrc
priority: 75
JSON with Comments:
category: data
color: "#CCCCCC"
heuristics:
- "(?m)^\\s*/[/\\*]"
matchers:
extensions:
- json
- jsonc
filenames:
- devcontainer.json
- tsconfig.json
patterns:
- .vscode/*.json
- tsconfig.*.json
priority: 25
JavaScript:
category: programming
color: "#F0DC4E"
matchers:
extensions:
- js
interpreters:
- node
Makefile:
category: programming
color: "#6B482F" # Arbitrary brown color representing a Gnu
matchers:
filenames:
- "Makefile"
patterns:
- "Makefile.*" # Makefile.<extension>
Markdown:
category: prose
color: "#03A7DD"
matchers:
extensions:
- markdown
- md
Mermaid:
category: markup
color: "#FF3670"
matchers:
extensions:
- mermaid
- mmd
Plain Text:
category: prose
color: "#000000"
matchers:
extensions:
- text
- txt
filenames:
- "LICENCE"
- "LICENSE"
PowerShell:
category: programming
color: "#012456"
matchers:
extensions:
- ps1
interpreters:
- pwsh
Pug:
category: markup
color: "#A86454"
matchers:
extensions:
- pug
Python:
category: programming
color: "#3472A6"
matchers:
extensions:
- py
interpreters:
- python
- python2
- python3
Ruby:
category: programming
color: "#D21304"
matchers:
extensions:
- gemspec
- rb
filenames:
- Gemfile
- Rakefile
interpreters:
- ruby
Rust:
category: programming
color: "#DD3515"
matchers:
extensions:
- rs
SQL:
category: query
color: "##FFBF1E"
matchers:
extensions:
- sql
Shell:
category: programming
color: "#262E28"
matchers:
extensions:
- bash
- fish
- sh
interpreters:
- bash
- fish
- sh
Svelte:
category: programming
color: "#FF3E00"
matchers:
extensions:
- svelte
TOML:
category: data
color: "#9C4221"
matchers:
extensions:
- toml
TypeScript:
category: programming
color: "#2F74C0"
heuristics:
- "(?m)^export\\s+\\w[\\w\\d_]*?"
- "(?m)^import\\s+"
matchers:
extensions:
- ts
interpreters:
- deno
Vue:
category: programming
color: "#3FB27F"
matchers:
extensions:
- vue
XML:
category: data
color: "#005FAF"
heuristics:
- "<TS version=\"\\d+(?:\\.d+)+\" language=\""
matchers:
extensions:
- ts
- xml
YAML:
category: data
color: "#CC1018"
matchers:
extensions:
- yaml
- yml