A plugin for discord rich presence in neovim
features:
- language detection
- session diff of additions & deletions
- remote repository detection
This plugin can be easily installed using cargo:
cargo install neopresence
Make sure to add .cargo/bin
to your PATH variable
Next, add this to your Neovim config:
local id, err = vim.lsp.start_client({
name = 'neopresence',
cmd = {'neopresence'},
})
vim.api.nvim_create_autocmd({"FileType"}, {
pattern = {"*"},
callback = function()
vim.lsp.buf_attach_client(0, id)
end
})