From 3b4d4e624d61204b341ce43b9f712fa04268b5de Mon Sep 17 00:00:00 2001 From: Andrew Kwon Date: Mon, 9 Aug 2021 21:08:14 -0700 Subject: [PATCH] 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 --- lua/presence/file_assets.lua | 51 ++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/lua/presence/file_assets.lua b/lua/presence/file_assets.lua index da53d4c..dbba0e9 100644 --- a/lua/presence/file_assets.lua +++ b/lua/presence/file_assets.lua @@ -1,6 +1,12 @@ -- Discord application asset file names (name, key[, description]) by file extension 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_profile"] = { ".bash_profile", "shell" }, [".bash_prompt"] = { ".bash_prompt", "shell" }, [".bashrc"] = { ".bashrc", "shell" }, @@ -8,6 +14,8 @@ return { [".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" }, @@ -16,7 +24,13 @@ return { [".gitattributes"] = { "git", "git" }, [".gitconfig"] = { "git", "git" }, [".gitignore"] = { "git", "git" }, + [".gitlab-ci.yaml"] = { "GitLab CI", "gitlab" }, + [".gitlab-ci.yml"] = { "GitLab CI", "gitlab" }, [".gitmodules"] = { "git", "git" }, + [".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" }, @@ -27,33 +41,66 @@ return { [".prettierrc.yml"] = { "Prettier", "prettier" }, [".profile"] = { ".profile", "shell" }, [".tmux.conf"] = { "tmux", "tmux" }, + [".travis.yml"] = { "Travis CI", "travis" }, [".vimrc"] = { ".vimrc", "vim" }, + [".watchmanconfig"] = { "Watchman config", "watchman" }, + [".yarnrc"] = { "Yarn config", "yarn" }, [".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", "rust" }, + ["Cargo.toml"] = { "Cargo.toml", "rust" }, ["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" }, + ["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.ts"] = { "Webpack", "webpack" }, + ["yarn.lock"] = { "Yarn lockfile", "yarn" }, ["zshrc"] = { "zshrc", "shell" }, addressbook = { "abook", "abook" }, ahk = { "Autohotkey", "autohotkey" }, applescript = { "Applescript", "applescript" }, bash = { "Shell", "shell" }, c = { "C ", "c" }, + cabal = { "Cabal file", "haskell" }, cc = { "C++", "c_plus_plus" }, cf = { "Configuration file", "config" }, cfg = { "Configuration file", "config" }, @@ -74,7 +121,9 @@ return { erl = { "Erlang", "erlang" }, ex = { "Elixir", "elixir" }, fasl = { "Common Lisp", "lisp" }, + fnl = { "Fennel", "fennel" }, fs = { "F#", "f_sharp" }, + gemspec = { "Gem Spec", "ruby" }, go = { "Go", "go" }, gql = { "GraphQL", "graphql" }, graphql = { "GraphQL", "graphql" }, @@ -88,6 +137,7 @@ return { idr = { "Idris", "idris" }, ini = { "Configuration file", "config" }, ino = { "Arduino", "arduino" }, + ipynb = { "Jupyter Notebook", "jupyter" }, java = { "Java", "java" }, jl = { "Julia", "julia" }, js = { "JavaScript", "javascript" }, @@ -103,6 +153,7 @@ return { lua = { "Lua", "lua" }, markdown = { "Markdown", "markdown" }, md = { "Markdown", "markdown" }, + mdx = { "MDX", "mdx" }, mjs = { "JavaScript", "javascript" }, ml = { "OCaml", "ocaml" }, nim = { "Nim", "nim" },