Home

Awesome

crates.nvim

CI LOC

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,
}
<details> <summary>If you're feeling adventurous and want to use the newest features.</summary>

vim-plug

Plug 'saecki/crates.nvim'

lua require('crates').setup()

lazy.nvim

{
    'saecki/crates.nvim',
    config = function()
        require('crates').setup()
    end,
}
</details> <details> <summary>For lazy loading.</summary>
{
    'saecki/crates.nvim',
    event = { "BufRead Cargo.toml" },
    config = function()
        require('crates').setup()
    end,
}
</details>

Documentation

Related projects