1
0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-11-23 20:37:50 +01:00

Add a lot more Rich Presence assets

- AppVeyor
- Babel
- Fennel
- GitLab
- Jupyter
- MDX
- NPM
- Next.js
- Node.js
- Nuxt.js
- Renovate
- Tailwind
- Travis
- Watchman
- Yarn
This commit is contained in:
Andrew Kwon 2021-08-09 21:08:14 -07:00
parent 77227a06ec
commit 3b4d4e624d

@ -1,6 +1,12 @@
-- Discord application asset file names (name, key[, description]) by file extension -- Discord application asset file names (name, key[, description]) by file extension
return { return {
[".aliases"] = { ".aliases", "shell" }, [".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_profile"] = { ".bash_profile", "shell" }, [".bash_profile"] = { ".bash_profile", "shell" },
[".bash_prompt"] = { ".bash_prompt", "shell" }, [".bash_prompt"] = { ".bash_prompt", "shell" },
[".bashrc"] = { ".bashrc", "shell" }, [".bashrc"] = { ".bashrc", "shell" },
@ -8,6 +14,8 @@ return {
[".dockerfile"] = { "Docker", "docker" }, [".dockerfile"] = { "Docker", "docker" },
[".dockerignore"] = { "Docker", "docker" }, [".dockerignore"] = { "Docker", "docker" },
[".editorconfig"] = { "EditorConfig", "editorconfig" }, [".editorconfig"] = { "EditorConfig", "editorconfig" },
[".eslintignore"] = { "ESLint", "eslint" },
[".eslintrc"] = { "ESLint", "eslint" },
[".eslintrc.cjs"] = { "ESLint", "eslint" }, [".eslintrc.cjs"] = { "ESLint", "eslint" },
[".eslintrc.js"] = { "ESLint", "eslint" }, [".eslintrc.js"] = { "ESLint", "eslint" },
[".eslintrc.json"] = { "ESLint", "eslint" }, [".eslintrc.json"] = { "ESLint", "eslint" },
@ -16,7 +24,13 @@ return {
[".gitattributes"] = { "git", "git" }, [".gitattributes"] = { "git", "git" },
[".gitconfig"] = { "git", "git" }, [".gitconfig"] = { "git", "git" },
[".gitignore"] = { "git", "git" }, [".gitignore"] = { "git", "git" },
[".gitlab-ci.yaml"] = { "GitLab CI", "gitlab" },
[".gitlab-ci.yml"] = { "GitLab CI", "gitlab" },
[".gitmodules"] = { "git", "git" }, [".gitmodules"] = { "git", "git" },
[".luacheckrc"] = { ".luacheckrc", "lua" },
[".npmignore"] = { "npm config", "npm" },
[".npmrc"] = { "npm config", "npm" },
[".nvmrc"] = { ".nvmrc", "nodejs" },
[".prettierrc"] = { "Prettier", "prettier" }, [".prettierrc"] = { "Prettier", "prettier" },
[".prettierrc.cjs"] = { "Prettier", "prettier" }, [".prettierrc.cjs"] = { "Prettier", "prettier" },
[".prettierrc.js"] = { "Prettier", "prettier" }, [".prettierrc.js"] = { "Prettier", "prettier" },
@ -27,33 +41,66 @@ return {
[".prettierrc.yml"] = { "Prettier", "prettier" }, [".prettierrc.yml"] = { "Prettier", "prettier" },
[".profile"] = { ".profile", "shell" }, [".profile"] = { ".profile", "shell" },
[".tmux.conf"] = { "tmux", "tmux" }, [".tmux.conf"] = { "tmux", "tmux" },
[".travis.yml"] = { "Travis CI", "travis" },
[".vimrc"] = { ".vimrc", "vim" }, [".vimrc"] = { ".vimrc", "vim" },
[".watchmanconfig"] = { "Watchman config", "watchman" },
[".yarnrc"] = { "Yarn config", "yarn" },
[".zshrc"] = { ".zshrc", "shell" }, [".zshrc"] = { ".zshrc", "shell" },
["Brewfile"] = { "Brewfile", "homebrew" }, ["Brewfile"] = { "Brewfile", "homebrew" },
["Brewfile.lock.json"] = { "Brewfile.lock.json", "homebrew" }, ["Brewfile.lock.json"] = { "Brewfile.lock.json", "homebrew" },
["CHANGELOG"] = { "CHANGELOG", "text" },
["CODE_OF_CONDUCT"] = { "Code of Conduct", "text" },
["COMMIT_EDITMSG"] = { "git", "git" }, ["COMMIT_EDITMSG"] = { "git", "git" },
["CONTRIBUTING"] = { "CONTRIBUTING", "text" },
["Cargo.lock"] = { "Cargo lockfile", "rust" },
["Cargo.toml"] = { "Cargo.toml", "rust" },
["Dockerfile"] = { "Docker", "docker" }, ["Dockerfile"] = { "Docker", "docker" },
["Gemfile"] = { "Gemfile", "ruby" },
["Gemfile.lock"] = { "Gemfile lockfile", "ruby" },
["LICENSE"] = { "LICENSE", "text" },
["Makefile"] = { "Makefile", "code" }, ["Makefile"] = { "Makefile", "code" },
["Rakefile"] = { "Rakefile", "ruby" }, ["Rakefile"] = { "Rakefile", "ruby" },
["abookrc"] = { "abook", "abook" }, ["abookrc"] = { "abook", "abook" },
["alacritty.yaml"] = { "Alacritty config", "alacritty" }, ["alacritty.yaml"] = { "Alacritty config", "alacritty" },
["alacritty.yml"] = { "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" }, ["brew.sh"] = { "brew.sh", "homebrew" },
["docker-compose.yaml"] = { "Docker", "docker" }, ["docker-compose.yaml"] = { "Docker", "docker" },
["docker-compose.yml"] = { "Docker", "docker" }, ["docker-compose.yml"] = { "Docker", "docker" },
["gitconfig"] = { "git", "git" }, ["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" }, ["kitty.conf"] = { "Kitty config", "kitty" },
["next-env.d.ts"] = { "Next.js config", "nextjs" },
["next.config.js"] = { "Next.js config", "nextjs" },
["nginx"] = { "NGINX", "nginx" }, ["nginx"] = { "NGINX", "nginx" },
["nginx.conf"] = { "NGINX", "nginx" }, ["nginx.conf"] = { "NGINX", "nginx" },
["nuxt.config.js"] = { "Nuxt config", "nuxtjs" },
["prettier.config.cjs"] = { "Prettier", "prettier" }, ["prettier.config.cjs"] = { "Prettier", "prettier" },
["prettier.config.js"] = { "Prettier", "prettier" }, ["prettier.config.js"] = { "Prettier", "prettier" },
["renovate.json"] = { "Renovate config", "renovate" },
["requirements.txt"] = { "requirements.txt", "python" },
["tailwind.config.js"] = { "Tailwind", "tailwind" },
["watchman.json"] = { "Watchman config", "watchman" },
["webpack.config.js"] = { "Webpack", "webpack" }, ["webpack.config.js"] = { "Webpack", "webpack" },
["webpack.config.ts"] = { "Webpack", "webpack" },
["yarn.lock"] = { "Yarn lockfile", "yarn" },
["zshrc"] = { "zshrc", "shell" }, ["zshrc"] = { "zshrc", "shell" },
addressbook = { "abook", "abook" }, addressbook = { "abook", "abook" },
ahk = { "Autohotkey", "autohotkey" }, ahk = { "Autohotkey", "autohotkey" },
applescript = { "Applescript", "applescript" }, applescript = { "Applescript", "applescript" },
bash = { "Shell", "shell" }, bash = { "Shell", "shell" },
c = { "C ", "c" }, c = { "C ", "c" },
cabal = { "Cabal file", "haskell" },
cc = { "C++", "c_plus_plus" }, cc = { "C++", "c_plus_plus" },
cf = { "Configuration file", "config" }, cf = { "Configuration file", "config" },
cfg = { "Configuration file", "config" }, cfg = { "Configuration file", "config" },
@ -74,7 +121,9 @@ return {
erl = { "Erlang", "erlang" }, erl = { "Erlang", "erlang" },
ex = { "Elixir", "elixir" }, ex = { "Elixir", "elixir" },
fasl = { "Common Lisp", "lisp" }, fasl = { "Common Lisp", "lisp" },
fnl = { "Fennel", "fennel" },
fs = { "F#", "f_sharp" }, fs = { "F#", "f_sharp" },
gemspec = { "Gem Spec", "ruby" },
go = { "Go", "go" }, go = { "Go", "go" },
gql = { "GraphQL", "graphql" }, gql = { "GraphQL", "graphql" },
graphql = { "GraphQL", "graphql" }, graphql = { "GraphQL", "graphql" },
@ -88,6 +137,7 @@ return {
idr = { "Idris", "idris" }, idr = { "Idris", "idris" },
ini = { "Configuration file", "config" }, ini = { "Configuration file", "config" },
ino = { "Arduino", "arduino" }, ino = { "Arduino", "arduino" },
ipynb = { "Jupyter Notebook", "jupyter" },
java = { "Java", "java" }, java = { "Java", "java" },
jl = { "Julia", "julia" }, jl = { "Julia", "julia" },
js = { "JavaScript", "javascript" }, js = { "JavaScript", "javascript" },
@ -103,6 +153,7 @@ return {
lua = { "Lua", "lua" }, lua = { "Lua", "lua" },
markdown = { "Markdown", "markdown" }, markdown = { "Markdown", "markdown" },
md = { "Markdown", "markdown" }, md = { "Markdown", "markdown" },
mdx = { "MDX", "mdx" },
mjs = { "JavaScript", "javascript" }, mjs = { "JavaScript", "javascript" },
ml = { "OCaml", "ocaml" }, ml = { "OCaml", "ocaml" },
nim = { "Nim", "nim" }, nim = { "Nim", "nim" },