mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-14 17:07:26 +00:00
Mark chaining hints as types, since that's what they are
This commit is contained in:
parent
fb9e66d9fc
commit
620411df80
1 changed files with 1 additions and 2 deletions
|
@ -432,8 +432,7 @@ pub(crate) fn inlay_hint(
|
|||
},
|
||||
kind: match inlay_hint.kind {
|
||||
InlayKind::ParameterHint => Some(lsp_ext::InlayHintKind::PARAMETER),
|
||||
InlayKind::TypeHint => Some(lsp_ext::InlayHintKind::TYPE),
|
||||
InlayKind::ChainingHint => None,
|
||||
InlayKind::TypeHint | InlayKind::ChainingHint => Some(lsp_ext::InlayHintKind::TYPE),
|
||||
},
|
||||
tooltip: None,
|
||||
padding_left: Some(match inlay_hint.kind {
|
||||
|
|
Loading…
Reference in a new issue