A neovim plugin that helps managing crates.io dependencies.
Important
Screencast.from.2023-03-11.05-29-22.webm
To use a stable release.
Plug 'saecki/crates.nvim', { 'tag': 'stable' }
lua require('crates').setup()
{
'saecki/crates.nvim',
tag = 'stable',
config = function()
require('crates').setup()
end,
}
If you're feeling adventurous and want to use the newest features.
Plug 'saecki/crates.nvim'
lua require('crates').setup()
{
'saecki/crates.nvim',
config = function()
require('crates').setup()
end,
}
For lazy loading.
{
'saecki/crates.nvim',
event = { "BufRead Cargo.toml" },
config = function()
require('crates').setup()
end,
}