diff --git a/README.md b/README.md index 35a9b97..47181e0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -presence.nvim​ +presence.nvim​ === Discord [Rich Presence](https://discord.com/rich-presence) plugin for Neovim. diff --git a/lua/presence/file_assets.lua b/lua/presence/file_assets.lua index 8e3b9f2..852fafd 100644 --- a/lua/presence/file_assets.lua +++ b/lua/presence/file_assets.lua @@ -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" },