diff --git a/plugins/groovy/src/org/jetbrains/plugins/groovy/codeInsight/hint/types/GroovyLambdaParameterTypeHintsInlayProvider.kt b/plugins/groovy/src/org/jetbrains/plugins/groovy/codeInsight/hint/types/GroovyLambdaParameterTypeHintsInlayProvider.kt index b0bd841dba08..d9b4badc597d 100644 --- a/plugins/groovy/src/org/jetbrains/plugins/groovy/codeInsight/hint/types/GroovyLambdaParameterTypeHintsInlayProvider.kt +++ b/plugins/groovy/src/org/jetbrains/plugins/groovy/codeInsight/hint/types/GroovyLambdaParameterTypeHintsInlayProvider.kt @@ -39,7 +39,7 @@ class GroovyLambdaParameterTypeHintsInlayProvider : InlayHintsProvider { sink: InlayTreeSink, suffixText: String) { val type = getRepresentableType(parameter) ?: return - sink.addPresentation(InlineInlayPosition(offset, relatedToPrevious = true), hasBackground = true) { + sink.addPresentation(InlineInlayPosition(offset, relatedToPrevious = true), null, null, HintColorKind.Default) { JavaTypeHintsFactory.typeHint(type, this) text(suffixText) }