-
Notifications
You must be signed in to change notification settings - Fork 67
/
file_assets.lua
276 lines (276 loc) · 11.2 KB
/
file_assets.lua
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
264
265
266
267
268
269
270
271
272
273
274
275
276
-- File asset definitions (name, source) keyed by file name or extension
-- * name - the name of the asset shown as the title of the file in Discord
-- * source - the source of the asset, either an art asset key or the URL of an image asset
--
-- Example: {
-- -- Use art assets uploaded in Discord application for the configured client id
-- js = { "JavaScript", "javascript" },
-- ts = { "TypeScript", "typescript" },
-- -- Use image URLs
-- rs = { "Rust", "https://www.rust-lang.org/logos/rust-logo-512x512.png" },
-- go = { "Go", "https://go.dev/blog/go-brand/Go-Logo/PNG/Go-Logo_Aqua.png" },
-- }
return {
[".aliases"] = { ".aliases", "shell" },
[".appveyor.yml"] = { "AppVeyor config", "appveyor" },
[".babelrc"] = { "Babel config", "babel" },
[".babelrc.cjs"] = { "Babel config", "babel" },
[".babelrc.js"] = { "Babel config", "babel" },
[".babelrc.json"] = { "Babel config", "babel" },
[".babelrc.mjs"] = { "Babel config", "babel" },
[".bash_login"] = { ".bash_login", "shell" },
[".bash_logout"] = { ".bash_logout", "shell" },
[".bash_profile"] = { ".bash_profile", "shell" },
[".bash_prompt"] = { ".bash_prompt", "shell" },
[".bashrc"] = { ".bashrc", "shell" },
[".cshrc"] = { ".cshrc", "shell" },
[".dockercfg"] = { "Docker", "docker" },
[".dockerfile"] = { "Docker", "docker" },
[".dockerignore"] = { "Docker", "docker" },
[".editorconfig"] = { "EditorConfig", "editorconfig" },
[".eslintignore"] = { "ESLint", "eslint" },
[".eslintrc"] = { "ESLint", "eslint" },
[".eslintrc.cjs"] = { "ESLint", "eslint" },
[".eslintrc.js"] = { "ESLint", "eslint" },
[".eslintrc.json"] = { "ESLint", "eslint" },
[".eslintrc.yaml"] = { "ESLint", "eslint" },
[".eslintrc.yml"] = { "ESLint", "eslint" },
[".gitattributes"] = { "git", "git" },
[".gitconfig"] = { "git", "git" },
[".gitignore"] = { "git", "git" },
[".gitlab-ci.yaml"] = { "GitLab CI", "gitlab" },
[".gitlab-ci.yml"] = { "GitLab CI", "gitlab" },
[".gitmodules"] = { "git", "git" },
[".login"] = { ".login", "shell" },
[".logout"] = { ".login", "shell" },
[".luacheckrc"] = { ".luacheckrc", "lua" },
[".npmignore"] = { "npm config", "npm" },
[".npmrc"] = { "npm config", "npm" },
[".nvmrc"] = { ".nvmrc", "nodejs" },
[".prettierrc"] = { "Prettier", "prettier" },
[".prettierrc.cjs"] = { "Prettier", "prettier" },
[".prettierrc.js"] = { "Prettier", "prettier" },
[".prettierrc.json"] = { "Prettier", "prettier" },
[".prettierrc.json5"] = { "Prettier", "prettier" },
[".prettierrc.toml"] = { "Prettier", "prettier" },
[".prettierrc.yaml"] = { "Prettier", "prettier" },
[".prettierrc.yml"] = { "Prettier", "prettier" },
[".profile"] = { ".profile", "shell" },
[".tcshrc"] = { ".tcshrc", "shell" },
[".terraformrc"] = { "Terraform config", "terraform" },
[".tmux.conf"] = { "tmux", "tmux" },
[".travis.yml"] = { "Travis CI", "travis" },
[".vimrc"] = { ".vimrc", "vim" },
[".watchmanconfig"] = { "Watchman config", "watchman" },
[".yarnrc"] = { "Yarn config", "yarn" },
[".zlogin"] = { ".zlogin", "shell" },
[".zprofile"] = { ".zprofile", "shell" },
[".zshenv"] = { ".zshenv", "shell" },
[".zshrc"] = { ".zshrc", "shell" },
["Brewfile"] = { "Brewfile", "homebrew" },
["Brewfile.lock.json"] = { "Brewfile.lock.json", "homebrew" },
["CHANGELOG"] = { "CHANGELOG", "text" },
["CODE_OF_CONDUCT"] = { "Code of Conduct", "text" },
["COMMIT_EDITMSG"] = { "git", "git" },
["CONTRIBUTING"] = { "CONTRIBUTING", "text" },
["Cargo.lock"] = { "Cargo lockfile", "cargo" },
["Cargo.toml"] = { "Cargo.toml", "cargo" },
["Dockerfile"] = { "Docker", "docker" },
["Gemfile"] = { "Gemfile", "ruby" },
["Gemfile.lock"] = { "Gemfile lockfile", "ruby" },
["LICENSE"] = { "LICENSE", "text" },
["Makefile"] = { "Makefile", "code" },
["Rakefile"] = { "Rakefile", "ruby" },
["abookrc"] = { "abook", "abook" },
["alacritty.yaml"] = { "Alacritty config", "alacritty" },
["alacritty.yml"] = { "Alacritty config", "alacritty" },
["appveyor.yml"] = { "AppVeyor config", "appveyor" },
["babel.config.cjs"] = { "Babel config", "babel" },
["babel.config.js"] = { "Babel config", "babel" },
["babel.config.json"] = { "Babel config", "babel" },
["babel.config.mjs"] = { "Babel config", "babel" },
["brew.sh"] = { "brew.sh", "homebrew" },
["docker-compose.yaml"] = { "Docker", "docker" },
["docker-compose.yml"] = { "Docker", "docker" },
["gitconfig"] = { "git", "git" },
["gitlab.rb"] = { "GitLab config", "gitlab" },
["gitlab.yml"] = { "GitLab config", "gitlab" },
["go.mod"] = { "go.mod", "go" },
["go.sum"] = { "go.sum", "go" },
["jest.config.js"] = { "Jest config", "jest" },
["jest.setup.js"] = { "Jest config", "jest" },
["jest.setup.ts"] = { "Jest config", "jest" },
["kitty.conf"] = { "Kitty config", "kitty" },
["next-env.d.ts"] = { "Next.js config", "nextjs" },
["next.config.js"] = { "Next.js config", "nextjs" },
["nginx"] = { "NGINX", "nginx" },
["nginx.conf"] = { "NGINX", "nginx" },
["nuxt.config.js"] = { "Nuxt config", "nuxtjs" },
["prettier.config.cjs"] = { "Prettier", "prettier" },
["prettier.config.js"] = { "Prettier", "prettier" },
["profile"] = { "profile", "shell" },
["renovate.json"] = { "Renovate config", "renovate" },
["requirements.txt"] = { "requirements.txt", "python" },
["tailwind.config.js"] = { "Tailwind", "tailwind" },
["terraform.rc"] = { "Terraform config", "terraform" },
["v.mod"] = { "v.mod", "vlang" },
["watchman.json"] = { "Watchman config", "watchman" },
["webpack.config.js"] = { "Webpack", "webpack" },
["webpack.config.ts"] = { "Webpack", "webpack" },
["yarn.lock"] = { "Yarn lockfile", "yarn" },
["zlogin"] = { "zlogin", "shell" },
["zlogout"] = { "zlogout", "shell" },
["zprofile"] = { "zprofile", "shell" },
["zshenv"] = { "zshenv", "shell" },
["zshrc"] = { "zshrc", "shell" },
addressbook = { "abook", "abook" },
ahk = { "Autohotkey", "autohotkey" },
applescript = { "Applescript", "applescript" },
bash = { "Bash script", "shell" },
bib = { "BibTeX", "latex" },
c = { "C ", "c" },
cabal = { "Cabal file", "haskell" },
cc = { "C++", "c_plus_plus" },
cf = { "Configuration file", "config" },
cfg = { "Configuration file", "config" },
cl = { "Common Lisp", "lisp" },
clj = { "Clojure", "clojure" },
cljs = { "ClojureScript", "clojurescript" },
cls = { "Visual Basic class module", "visual_basic" },
cnf = { "Configuration file", "config" },
coffee = { "CoffeeScript", "coffeescript" },
conf = { "Configuration file", "config" },
config = { "Configuration file", "config" },
cpp = { "C++", "c_plus_plus" },
cr = { "Crystal", "crystal" },
cs = { "C#", "c_sharp" },
css = { "CSS", "css" },
cxx = { "C++", "c_plus_plus" },
d = { "D", "d" },
dart = { "Dart", "dart" },
dll = { "DLL file", "visual_basic" },
e = { "Eiffel", "eiffel" },
elm = { "Elm", "elm" },
erl = { "Erlang", "erlang" },
ex = { "Elixir", "elixir" },
expect = { "Expect", "tcl" },
fasl = { "Common Lisp", "lisp" },
fish = { "Fish script", "fish" },
fnl = { "Fennel", "fennel" },
fs = { "F#", "f_sharp" },
g = { "ANTLR grammar", "antlr" },
g3 = { "ANTLR 3 grammar", "antlr" },
g4 = { "ANTLR 4 grammar", "antlr" },
gemspec = { "Gem Spec", "ruby" },
go = { "Go", "go" },
gql = { "GraphQL", "graphql" },
graphql = { "GraphQL", "graphql" },
groovy = { "Groovy", "groovy" },
gsh = { "Groovy", "groovy" },
gvy = { "Groovy", "groovy" },
gy = { "Groovy", "groovy" },
h = { "C header file", "c" },
hack = { "Hack", "hack" },
haml = { "Haml", "haml" },
hpp = { "C++ header file", "c_plus_plus" },
hs = { "Haskell", "haskell" },
html = { "HTML", "html" },
hx = { "Haxe", "haxe" },
hxx = { "C++ header file", "c_plus_plus" },
idr = { "Idris", "idris" },
ini = { "Configuration file", "config" },
ino = { "Arduino", "arduino" },
ipynb = { "Jupyter Notebook", "jupyter" },
java = { "Java", "java" },
jl = { "Julia", "julia" },
js = { "JavaScript", "javascript" },
json = { "JSON", "json" },
jsx = { "React", "react" },
ksh = { "KornShell script", "shell" },
kshrc = { "KornShell config", "shell" },
kt = { "Kotlin", "kotlin" },
kv = { "Kivy", "kivy" },
l = { "Common Lisp", "lisp" },
less = { "Less", "less" },
lidr = { "Idris", "idris" },
liquid = { "Liquid", "liquid" },
lisp = { "Common Lisp", "lisp" },
log = { "Log file", "code" },
lsp = { "Common Lisp", "lisp" },
lua = { "Lua", "lua" },
m = { "MATLAB", "matlab" },
markdown = { "Markdown", "markdown" },
mat = { "MATLAB", "matlab" },
md = { "Markdown", "markdown" },
mdx = { "MDX", "mdx" },
mjs = { "JavaScript", "javascript" },
ml = { "OCaml", "ocaml" },
nim = { "Nim", "nim" },
nix = { "Nix", "nix" },
norg = { "Neorg", "neorg" },
org = { "Org", "org" },
pb = { "Protobuf", "protobuf" },
pcss = { "PostCSS", "postcss" },
pgsql = { "PostgreSQL", "pgsql" },
php = { "PHP", "php" },
pl = { "Perl", "perl" },
plist = { "Property List", "markup" },
postcss = { "PostCSS", "postcss" },
proto = { "Protobuf", "protobuf" },
ps1 = { "PowerShell", "powershell" },
psd1 = { "PowerShell", "powershell" },
psm1 = { "PowerShell", "powershell" },
purs = { "PureScript", "purescript" },
py = { "Python", "python" },
r = { "R", "r" },
raku = { "Raku", "raku" },
rakudoc = { "Raku", "raku" },
rakumod = { "Raku", "raku" },
rakutest = { "Raku", "raku" },
rb = { "Ruby", "ruby" },
re = { "Reason", "reason" },
res = { "ReScript", "rescript" },
rkt = { "Racket", "racket"},
rs = { "Rust", "rust" },
sass = { "Sass", "sass" },
scala = { "Scala", "scala" },
scm = { "Scheme", "scheme" },
scss = { "Sass", "scss" },
sh = { "Shell script", "shell" },
shrc = { "Shell config", "shell" },
snap = { "Jest Snapshot", "jest" },
sql = { "SQL", "database" },
ss = { "Scheme", "scheme" },
svelte = { "Svelte", "svelte" },
svg = { "SVG", "markup" },
swift = { "Swift", "swift" },
tcl = { "Tcl", "tcl" },
tex = { "LaTeX", "latex" },
text = { "Text file", "text" },
tf = { "Terraform", "terraform" },
tk = { "Tcl/Tk", "tcl" },
tl = { "Teal", "teal" },
toml = { "TOML", "toml" },
ts = { "TypeScript", "typescript" },
tsx = { "React", "react" },
txt = { "Text file", "text" },
uc = { "UnrealScript", "unreal" },
v = { "Vlang", "vlang" },
vsh = { "Vlang shell script", "vlang" },
vb = { "Visual Basic", "visual_basic" },
vbp = { "Visual Basic project file", "visual_basic" },
vim = { "Vim", "vim" },
viml = { "Vim", "vim" },
vue = { "Vue", "vue" },
wasm = { "WebAssembly", "webassembly" },
wast = { "WebAssembly", "webassembly" },
wat = { "WebAssembly", "webassembly" },
xml = { "XML", "markup" },
xsd = { "XML Schema", "markup" },
xslt = { "XSLT", "markup" },
yaml = { "YAML", "yaml" },
yml = { "YAML", "yaml" },
zig = { "Zig", "zig" },
zsh = { "Zsh script", "shell" },
zu = { "Zimbu", "zimbu" },
}