Mark chaining hints as types, since that's what they are

This commit is contained in:
Laurențiu Nicola 2022-03-16 07:46:09 +02:00
parent fb9e66d9fc
commit 620411df80

View file

@ -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 {