diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-10-28 15:29:41 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-10-29 11:57:24 +0100 |
commit | 617401c6742f8c0f7ebe6e3d9839993441761987 (patch) | |
tree | 46fd115d936385ce1515c50b8cf0a3c81771f84f | |
parent | 36f4b916bc956d8f5c9f6b55d295ea9a69c9f0bc (diff) | |
download | dokka-617401c6742f8c0f7ebe6e3d9839993441761987.tar.gz dokka-617401c6742f8c0f7ebe6e3d9839993441761987.tar.bz2 dokka-617401c6742f8c0f7ebe6e3d9839993441761987.zip |
don't render annotations on types in summary view
-rw-r--r-- | src/Kotlin/KotlinLanguageService.kt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Kotlin/KotlinLanguageService.kt b/src/Kotlin/KotlinLanguageService.kt index 77cad657..3c4b974f 100644 --- a/src/Kotlin/KotlinLanguageService.kt +++ b/src/Kotlin/KotlinLanguageService.kt @@ -167,7 +167,9 @@ class KotlinLanguageService : LanguageService { renderType(typeArguments.last(), renderMode) return } - renderAnnotationsForNode(node) + if (renderMode == RenderMode.FULL) { + renderAnnotationsForNode(node) + } renderModifiersForNode(node, renderMode, true) renderLinked(node) { identifier(it.name, IdentifierKind.TypeName) } if (typeArguments.any()) { |