rust-tools.nvim icon indicating copy to clipboard operation
rust-tools.nvim copied to clipboard

Support for LSP Diagonostics

Open tbetcke opened this issue 3 years ago • 1 comments

Does rust-tools have support for Lsp diagnostic? When I have an error I am receiving inline hints about the error. But if I wanted to view the error in a hover I need to call.

vim.lsp.diagnostic.show_line_diagnostics()

I wonder if there a way to integrate this with the hover system from rust-tools?

tbetcke avatar Jun 15 '21 12:06 tbetcke

This shouldn't be super hard to implement, but the real hard part would be getting correct highlighting going https://github.com/simrat39/rust-tools.nvim/issues/23 is also having the same issue, but i'll look into it with the new api's.

simrat39 avatar Jul 06 '21 22:07 simrat39