1
0
Fork 0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-12-28 11:02:34 +01:00

Add more file assets and fix README banner

This commit is contained in:
Andrew Kwon 2021-04-25 16:51:58 -07:00
parent 41c1221cad
commit a9adc37a7a
2 changed files with 23 additions and 4 deletions

View file

@ -1,4 +1,4 @@
<img src="https://gist.githubusercontent.com/andweeb/df3216345530234289b87cf5080c2c60/raw/8de399cfed82c137f793e9f580027b5246bc4379/presence.nvim.png" height="120" alt="presence.nvim">&#x200B;
<img src="https://gist.githubusercontent.com/andweeb/df3216345530234289b87cf5080c2c60/raw/8de399cfed82c137f793e9f580027b5246bc4379/presence.nvim.png" alt="presence.nvim">&#x200B;
===
Discord [Rich Presence](https://discord.com/rich-presence) plugin for Neovim.

View file

@ -1,10 +1,13 @@
-- Discord application asset file names (name, key[, description]) by file extension
return {
COMMIT_EDITMSG = { "git", "git" },
Makefile = { "Makefile", "config" },
[".aliases"] = { ".aliases", "shell" },
[".bash_profile"] = { ".bash_profile", "shell" },
[".bash_prompt"] = { ".bash_prompt", "shell" },
[".bashrc"] = { ".bashrc", "shell" },
[".dockercfg"] = { "Docker", "docker" },
[".dockerfile"] = { "Docker", "docker" },
[".dockerignore"] = { "Docker", "docker" },
[".editorconfig"] = { "EditorConfig", "editorconfig" },
[".eslintrc.cjs"] = { "ESLint", "eslint" },
[".eslintrc.js"] = { "ESLint", "eslint" },
[".eslintrc.json"] = { "ESLint", "eslint" },
@ -22,17 +25,30 @@ return {
[".prettierrc.toml"] = { "Prettier", "prettier" },
[".prettierrc.yaml"] = { "Prettier", "prettier" },
[".prettierrc.yml"] = { "Prettier", "prettier" },
[".profile"] = { ".profile", "shell" },
[".tmux.conf"] = { "tmux", "tmux" },
[".vimrc"] = { ".vimrc", "vim" },
[".zshrc"] = { ".zshrc", "shell" },
["Brewfile"] = { "Brewfile", "homebrew" },
["Brewfile.lock.json"] = { "Brewfile.lock.json", "homebrew" },
["COMMIT_EDITMSG"] = { "git", "git" },
["Dockerfile"] = { "Docker", "docker" },
["Makefile"] = { "Makefile", "code" },
["Rakefile"] = { "Rakefile", "ruby" },
["abookrc"] = { "abook", "abook" },
["alacritty.yaml"] = { "Alacritty config", "alacritty" },
["alacritty.yml"] = { "Alacritty config", "alacritty" },
["brew.sh"] = { "brew.sh", "homebrew" },
["docker-compose.yaml"] = { "Docker", "docker" },
["docker-compose.yml"] = { "Docker", "docker" },
["gitconfig"] = { "git", "git" },
["kitty.conf"] = { "Kitty config", "kitty" },
["nginx"] = { "NGINX", "nginx" },
["nginx.conf"] = { "NGINX", "nginx" },
["prettier.config.cjs"] = { "Prettier", "prettier" },
["prettier.config.js"] = { "Prettier", "prettier" },
["webpack.config.js"] = { "Webpack", "webpack" },
abookrc = { "abook", "abook" },
["zshrc"] = { "zshrc", "shell" },
addressbook = { "abook", "abook" },
ahk = { "Autohotkey", "autohotkey" },
applescript = { "Applescript", "applescript" },
@ -80,11 +96,13 @@ return {
markdown = { "Markdown", "markdown" },
md = { "Markdown", "markdown" },
mjs = { "JavaScript", "javascript" },
ml = { "OCaml", "ocaml" },
nim = { "Nim", "nim" },
nix = { "Nix", "nix" },
pcss = { "PostCSS", "postcss" },
php = { "PHP", "php" },
pl = { "Perl", "perl" },
plist = { "Property List", "markup" },
postcss = { "PostCSS", "postcss" },
ps1 = { "PowerShell", "powershell" },
purs = { "PureScript", "purescript" },
@ -92,6 +110,7 @@ return {
r = { "R", "r" },
rb = { "Ruby", "ruby" },
re = { "Reason", "reason" },
res = { "ReScript", "rescript" },
rs = { "Rust", "rust" },
sass = { "Sass", "sass" },
scala = { "Scala", "scala" },