aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/kotlin/Kotlin/KotlinLanguageService.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/kotlin/Kotlin/KotlinLanguageService.kt b/core/src/main/kotlin/Kotlin/KotlinLanguageService.kt
index 6088d3a5..f57708ed 100644
--- a/core/src/main/kotlin/Kotlin/KotlinLanguageService.kt
+++ b/core/src/main/kotlin/Kotlin/KotlinLanguageService.kt
@@ -11,7 +11,7 @@ class KotlinLanguageService : CommonLanguageService() {
}
private val fullOnlyModifiers =
- setOf("public", "protected", "private", "inline", "noinline", "crossinline", "reified")
+ setOf("public", "protected", "private", "internal", "inline", "noinline", "crossinline", "reified")
override fun render(node: DocumentationNode, renderMode: RenderMode): ContentNode {
return content {
@@ -201,7 +201,7 @@ class KotlinLanguageService : CommonLanguageService() {
"final", "public", "var" -> {
}
else -> {
- if (node.name !in fullOnlyModifiers || renderMode == RenderMode.FULL) {
+ if (showModifierInSummary(node) || renderMode == RenderMode.FULL) {
super.renderModifier(block, node, renderMode, nowrap)
}
}