mrcjkb / rustaceanvim

Supercharge your Rust experience in Neovim! A heavily modified fork of rust-tools.nvim
GNU General Public License v2.0
1.3k stars 47 forks source link

RustLsp openDocs does not work properly on Macros #438

Closed DJPoland closed 3 weeks ago

DJPoland commented 3 weeks ago

Have you read the docs and searched existing issues?

Neovim version (nvim -v)

v0.10.0

Operating system/version

MacOS Sonoma 14.1

Output of :checkhealth rustaceanvim

n/a

How to reproduce the issue

When running RustLsp openDocs, it fails to redirect to the proper documentation page for certain symbols like macros. When running  openDocs over a ```vec!```, the following page: https://doc.rust-lang.org/stable/alloc/macros/macro.vec.html opens up which is nothing of significance.

Expected behaviour

It should redirect to the page: https://doc.rust-lang.org/std/macro.vec.html and not https://doc.rust-lang.org/stable/alloc/macros/macro.vec.html.

Actual behaviour

Redirects to https://doc.rust-lang.org/stable/alloc/macros/macro.vec.html, which is not information about the macro.

The minimal config used to reproduce this issue.

n/a. Vanilla and latest commit of rustaceanvim.
mrcjkb commented 3 weeks ago

Hey 👋

This is a rust-analyzer bug: https://github.com/rust-lang/rust-analyzer/issues/16724