minimalist discord rich presence plugin for neovim (bordem) (code ~6kb, lua/ directory)
for those who want a working discord rich presence without any extra features or that you just want to clone the repository and implement the rest of your beautiful presence yourself
for those who were looking where the icons went. go to https://github.com/EpicBirb/discord.nvim-assets
thanks to https://github.com/iryont/lua-struct for providing the code struct packing (although I did remove like the entire file and kept only what is nessesary)
also thanks to https://cdn.jsdelivr.net for providing free cdn service :D
contribute by making a pull request. I would probably expect changes to made for the presence or the api itself
I mean you can just look up how you would normally install plugins for your specific package manager. Here is one for lazy.nvim (since I'm using that)
return {
"EpicBirb/discord.nvim",
lazy = false
}
ight, heres what you need to do
- call
vim.discordRPC:disableDefaultEvents()
that's it. the rest is up to you. use vim.discordRPC:setActivity
to set your presence. api is included in the help doc.