saecki/crates.nvim

Mixing up underscores/dashes in a crates name yields metadata for the crate - even though its name is for a nonexistent crate

dob9601 opened this issue · 0 comments

Current behavior

image

(underscore instead of dash yields a tick and version info for the crate with a dash in its name)

Expected behavior

image
(Error fetching crate to show when a crate name has an underscore in it instead of a dash

Additional context/Screenshots

Possible solution

Neovim version

nvim --version
NVIM v0.8.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by runner@fv-az178-366

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/share/nvim"

Run :checkhealth for more info```
</details>