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

Support for new inlay hints

Open hw0lff opened this issue 3 years ago • 4 comments

Rust analyzer added with changelog #121 additional inlay hints:

  • rust-analyzer.inlayHints.closureReturnTypeHints
  • rust-analyzer.inlayHints.lifetimeElisionHints
  • rust-analyzer.inlayHints.reborrowHints

I enabled them in my config but they don't show up. They aren't mentioned on the respective github wiki page either.

Are there plans to add these new inlay hints?

hw0lff avatar Jul 15 '22 09:07 hw0lff

We don't support these because well its too much stuff to add the end of lines.

Neovim doesn't support inline inlay hints (afaik), which these would make more sense with. If anyone has any idea on how to display these, i'd love to hear them

simrat39 avatar Jul 18 '22 23:07 simrat39

The tracking issue for InlayHints: https://github.com/neovim/neovim/issues/18086

polyzen avatar Jul 18 '22 23:07 polyzen