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
# Definition of languages supported by Gengo
#
# # Format
#
# ```yaml
# # The name of the language.
# Language:
#
# # data, markup, programming, or prose
# 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"
#
# # Advanced regex patterns associated with the language (optional)
# patterns:
# # See the format of the `regex` crate: https://docs.rs/regex/latest/regex/#syntax
# - "(?i)^(?:^|\/)__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!
---
Go:
category: programming
color: "#00ADD8"
matchers:
extensions:
- go
HTML:
category: markup
color: "#E96228"
matchers:
extensions:
- html
JavaScript:
category: programming
color: "#F0DC4E"
matchers:
extensions:
- js
interpreters:
- node
Plain Text:
category: prose
color: "#000000"
matchers:
extensions:
- text
- txt
filenames:
- "LICENCE"
- "LICENSE"
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
Shell:
category: programming
color: "#262E28"
matchers:
extensions:
- bash
- fish
- sh
interpreters:
- bash
- fish
- sh
TypeScript:
category: programming
color: "#2F74C0"
matchers:
extensions:
- ts
interpreters:
- deno
Vue:
category: programming
color: "#3FB27F"
matchers:
extensions:
- vue