saecki / crates.nvim

A neovim plugin that helps managing crates.io dependencies
MIT License
876 stars 29 forks source link

Support for `package = "<package_name>"` #18

Closed thezealousfool closed 2 years ago

thezealousfool commented 2 years ago

I am using the following syntax for declaring a dependency

<alternate_name> = { package = "<package_name>", version = "<package_version>" }

such as

sctk = { package = "smithay-client-toolkit", version = "0.15.3" }

This plugin is having a difficult time recognizing the format and gives the error "Error fetching crate". Can support for this format be added?

saecki commented 2 years ago

Yes support for renames should be possible. I'll see when I get to it.

saecki commented 2 years ago

Should be fixed now

thezealousfool commented 2 years ago

Works great. Thanks