mirror of
https://github.com/jiriks74/presence.nvim
synced 2025-06-24 05:08:58 +02:00
Support vimrc, markdown, and git editmsg files
This commit is contained in:
parent
e92f8f73b7
commit
a15aed569a
2 changed files with 18 additions and 13 deletions
lua/presence
55
lua/presence/file_assets.lua
Normal file
55
lua/presence/file_assets.lua
Normal file
|
@ -0,0 +1,55 @@
|
|||
-- Discord application asset file names (name, key[, description]) by file extension
|
||||
return {
|
||||
COMMIT_EDITMSG = { "git", "git" },
|
||||
[".vimrc"] = { ".vimrc", "vim" },
|
||||
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" },
|
||||
zsh = { "Shell", "shell" },
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue