Mark chaining hints as types, since that's what they are
This commit is contained in:
@@ -432,8 +432,7 @@ pub(crate) fn inlay_hint(
|
|||||||
},
|
},
|
||||||
kind: match inlay_hint.kind {
|
kind: match inlay_hint.kind {
|
||||||
InlayKind::ParameterHint => Some(lsp_ext::InlayHintKind::PARAMETER),
|
InlayKind::ParameterHint => Some(lsp_ext::InlayHintKind::PARAMETER),
|
||||||
InlayKind::TypeHint => Some(lsp_ext::InlayHintKind::TYPE),
|
InlayKind::TypeHint | InlayKind::ChainingHint => Some(lsp_ext::InlayHintKind::TYPE),
|
||||||
InlayKind::ChainingHint => None,
|
|
||||||
},
|
},
|
||||||
tooltip: None,
|
tooltip: None,
|
||||||
padding_left: Some(match inlay_hint.kind {
|
padding_left: Some(match inlay_hint.kind {
|
||||||
|
|||||||
Reference in New Issue
Block a user