1
0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-11-23 20:37:50 +01:00
presence.nvim/lua/presence/file_assets.lua
2021-03-11 10:25:30 -08:00

60 lines
1.9 KiB
Lua

-- Discord application asset file names (name, key[, description]) by file extension
return {
COMMIT_EDITMSG = { "git", "git" },
[".vimrc"] = { ".vimrc", "vim" },
addressbook = { "abook", "abook" },
abookrc = { "abook", "abook" },
ahk = { "Autohotkey", "autohotkey" },
applescript = { "Applescript", "applescript" },
bash = { "Shell", "shell" },
c = { "C ", "c" },
clj = { "Clojure", "clojure" },
cljs = { "ClojureScript", "clojurescript" },
coffee = { "CoffeeScript", "coffeescript" },
cpp = { "C++", "c_plus_plus" },
cr = { "Crystal", "crystal" },
cs = { "C#", "c_sharp" },
css = { "CSS", "css" },
dart = { "Dart", "dart" },
elm = { "Elm", "elm" },
erl = { "Erlang", "erlang" },
ex = { "Elixir", "elixir" },
fs = { "F#", "f_sharp" },
go = { "Go", "go" },
hack = { "Hack", "hack" },
hs = { "Haskell", "haskell" },
html = { "HTML", "html" },
hx = { "Haxe", "haxe" },
java = { "Java", "java" },
jl = { "Julia", "julia" },
js = { "JavaScript", "javascript" },
json = { "JSON", "json" },
jsx = { "React", "react" },
kt = { "Kotlin", "kotlin" },
lua = { "Lua", "lua" },
md = { "Markdown", "markdown" },
nim = { "Nim", "nim" },
nix = { "Nix", "nix" },
php = { "PHP", "php" },
pl = { "Perl", "perl" },
ps1 = { "PowerShell", "powershell" },
purs = { "PureScript", "purescript" },
py = { "Python", "python" },
r = { "R", "r" },
rb = { "Ruby", "ruby" },
re = { "Reason", "reason" },
rs = { "Rust", "rust" },
scala = { "Scala", "scala" },
sh = { "Shell", "shell" },
swift = { "Swift", "swift" },
tex = { "TeX", "tex" },
ts = { "TypeScript", "typescript" },
tsx = { "React", "react" },
vim = { "Vim", "vim" },
viml = { "Vim", "vim" },
vue = { "Vue", "vue" },
yaml = { "YAML", "yaml" },
yml = { "YAML", "yaml" },
zsh = { "Shell", "shell" },
}