trouble.nvim icon indicating copy to clipboard operation
trouble.nvim copied to clipboard

doesnt seem to work with Rust-Analyzer

Open Corallus-Caninus opened this issue 3 years ago • 2 comments

Using the standard neovim-lsp and Rust-Analyzer plugin I cannot get errors to populate the window. using stable release of current neovim in ubuntu standard repository.

Corallus-Caninus avatar Oct 31 '22 16:10 Corallus-Caninus

I reproduce but I think it’s not a problem with trouble.nvim, seems I have the same errors by running:

:lua = vim.diagnostic.get()

hadronized avatar Nov 28 '22 22:11 hadronized

Which version of rust-analyzer do you have, and do you use Mason? Try to install it as a rustup component:

rustup component add rust-analyzer

And then compare the version with:

~/.share/local/nvim/mason/bin/rust-analyzer
rustup run stable rust-analyzer

The mason one is lagging like forever behind.

hadronized avatar Nov 28 '22 23:11 hadronized

Development on the main branch is EOL.

Trouble has been rewritten and will be merged in main soon.

This issue/feature either no longer exists or has been implemented on dev.

For more info, see https://github.com/folke/trouble.nvim/tree/dev

folke avatar Mar 29 '24 07:03 folke