Skip to content

MattCairns/telescope-cargo-workspace.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

telescope-cargo-workspace.nvim

Telescope.nvim extension for switching between cargo workspaces in Rust projects. Useful for navigating rust monorepos with many crates.

Install

This plugin requires nvim-telescope and Cargo to be installed.

Using vim-plug:

Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim'
Plug 'mattcairns/telescope-cargo-workspace'

Using lazy.nvim:

{
'nvim-telescope/telescope.nvim', tag = '0.1.1',
  dependencies = { 'nvim-lua/plenary.nvim' }
}
{ 'mattcairns/telescope-cargo-workspace' }

Configuration

To use this extension, add the following code to your init.vim file:

require("telescope").load_extension("telescope-cargo-workspace")

Usage

The following commands are provided:

Show all the crates in the current Cargo workspace and allows you to switch Neovims current working directory to the chosen crate.

:Telescope telescope-cargo-workspace switch

License

MIT License. See LICENSE file for details.

About

Telescope plugin to change your cwd in a cargo workspace.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages