From 620411df805ce37794cde2f9aa83c5218aa8f6dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Wed, 16 Mar 2022 07:46:09 +0200 Subject: [PATCH] Mark chaining hints as types, since that's what they are --- crates/rust-analyzer/src/to_proto.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/rust-analyzer/src/to_proto.rs b/crates/rust-analyzer/src/to_proto.rs index 2faef70072..6a1c2f56ca 100644 --- a/crates/rust-analyzer/src/to_proto.rs +++ b/crates/rust-analyzer/src/to_proto.rs @@ -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 {