Crates.io | cord-nvim |
lib.rs | cord-nvim |
version | 2.3.5 |
created_at | 2025-01-04 16:30:29.991388+00 |
updated_at | 2025-08-27 22:04:07.176184+00 |
description | 🚀 The most extensible Discord Rich Presence plugin for Neovim, powered by Rust. |
homepage | |
repository | https://github.com/vyfor/cord.nvim |
max_upload_size | |
id | 1504045 |
size | 7,615,172 |
[!IMPORTANT] Cord no longer requires Rust to be installed. Server component will be automatically downloaded from GitHub Releases.
{
'vyfor/cord.nvim',
build = ':Cord update',
-- opts = {}
}
use {
'vyfor/cord.nvim',
run = ':Cord update',
-- config = function()
-- require('cord').setup {}
-- end
}
Cord is available on LuaRocks.
:Rocks install cord.nvim
Invoke :Cord update
whenever the plugin is updated.
vim.pack.add { 'https://github.com/vyfor/cord.nvim' }
vim.api.nvim_create_autocmd('PackChanged', {
callback = function(opts)
if opts.data.spec.name == 'cord.nvim' and opts.data.kind == 'update' then
vim.cmd 'Cord update'
end
end
})
Unix:
git clone https://github.com/vyfor/cord.nvim ~/.local/share/nvim/site/pack/plugins/start/cord.nvim
Windows (PowerShell):
git clone https://github.com/vyfor/cord.nvim $LOCALAPPDATA/nvim-data/site/pack/plugins/start/cord.nvim
Invoke :Cord update
whenever the plugin is updated.
Cord requires the server executable to be present. By default, the plugin automatically fetches it from GitHub, which requires a dependency on curl
.
Alternatively, you can provide the executable manually:
Download from GitHub:
Get the latest release from https://github.com/vyfor/cord.nvim/releases/latest, rename it to cord
(or cord.exe
on Windows), and place it under nvim-data-dir/cord/bin
. This is essentially what :Cord update fetch
does.
Build from source:
Run :Cord update install
to install from crates.io or :Cord update build
to build from source locally.
Cord features over 120 meticulously crafted icons available in distinct themes:
See the showcase for a visual comparison.
[!TIP] Each theme includes multiple flavors, typically
dark
,light
, andaccent
, representing the background color of the icons. Choose your theme in thedisplay
configuration option. More themes are coming soon!
I'm the sole maintainer of cord.nvim and dedicate much of my free time to this project. If you find Cord helpful, you can show your support by giving the repo a star or sponsoring me on GitHub. Every bit of support helps me continue to improve and maintain Cord for everyone. Thank you!
💬 Questions? Post in Discussions or reach me out on Discord: vyfor