fannheyward / coc-rust-analyzer

rust-analyzer extension for coc.nvim
MIT License
1.13k stars 40 forks source link

Inlay: Where are the second inlay hints coming from? #1030

Closed Iniesta8 closed 2 years ago

Iniesta8 commented 2 years ago

Hi,

since updating my plugins, I've noticed duplicate inlay hints when editing rust files.

The inlay hints look as follows:

Screenshot from 2022-08-12 12-02-25

Where are the extra inlay hints coming from (the ones without the little leading triangle)? If I completely disable the inlay hints with "rust-analyzer.inlayHints.enable" = false, there is still such a hint in every line. I have tried other rust-analyzer.inlayHints settings, but without success.

It's coc related, for sure. If I deactivate coc, no hints are shown at all.

What am I missing?

fannheyward commented 2 years ago

Both coc and coc-rust-analyzer added inlay hints, I'll fix this later.

fannheyward commented 2 years ago

v0.66.0 has fixed this.

Iniesta8 commented 2 years ago

Fixed. Thank you!