Skip to content

Commit 33f61f1

Browse files
committed
param doc
1 parent 6adf44c commit 33f61f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/tang/intellij/lua/documentation/LuaDocumentationProvider.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ class LuaDocumentationProvider : AbstractDocumentationProvider(), DocumentationP
101101
sb.append(paramNameRef.text)
102102
sb.append(" ")
103103
getTypeSet(child.typeSet, sb)
104-
sb.append(" " + child.commentString?.string?.text)
104+
child.commentString?.string?.text?.let {
105+
sb.append(" " + it)
106+
}
105107
sb.append("<br>")
106108
}
107109
}

0 commit comments

Comments
 (0)