crates.nvim
A neovim plugin that helps managing crates.io dependencies.
[!IMPORTANT]
See breaking changes
Screencast from 2023-03-11 05-29-22.webm
Setup
Installation
To use a stable release.
vim-plug
Plug 'saecki/crates.nvim', { 'tag': 'stable' }
lua require('crates').setup()
lazy.nvim
{
'saecki/crates.nvim',
tag = 'stable',
config = function()
require('crates').setup()
end,
}
If you're feeling adventurous and want to use the newest features.
[__vim-plug__](https://github.com/junegunn/vim-plug)
```
Plug 'saecki/crates.nvim'
lua require('crates').setup()
```
[__lazy.nvim__](https://github.com/folke/lazy.nvim)
```lua
{
'saecki/crates.nvim',
config = function()
require('crates').setup()
end,
}
```
For lazy loading.
```lua
{
'saecki/crates.nvim',
event = { "BufRead Cargo.toml" },
config = function()
require('crates').setup()
end,
}
```
Related projects