From 67c7a94c348d4b944bb430a8ceed6537b8d22e4a Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 19 Mar 2015 10:58:18 +0100 Subject: restore lost space after type parameters of a property --- src/Kotlin/KotlinLanguageService.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Kotlin/KotlinLanguageService.kt b/src/Kotlin/KotlinLanguageService.kt index d046b650..8626e7e1 100644 --- a/src/Kotlin/KotlinLanguageService.kt +++ b/src/Kotlin/KotlinLanguageService.kt @@ -289,6 +289,9 @@ class KotlinLanguageService : LanguageService { else -> throw IllegalArgumentException("Node $node is not a property") } renderTypeParametersForNode(node) + if (node.details(DocumentationNode.Kind.TypeParameter).any()) { + text(" ") + } val receiver = node.details(DocumentationNode.Kind.Receiver).singleOrNull() if (receiver != null) { renderType(receiver.detail(DocumentationNode.Kind.Type)) -- cgit