summaryrefslogtreecommitdiff
path: root/script/core/hover/description.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/hover/description.lua')
-rw-r--r--script/core/hover/description.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/core/hover/description.lua b/script/core/hover/description.lua
index d515313b..f5890b21 100644
--- a/script/core/hover/description.lua
+++ b/script/core/hover/description.lua
@@ -512,6 +512,9 @@ return function (source)
if source.type == 'string' then
return asString(source)
end
+ if source.type == 'doc.tailcomment' then
+ return source.text
+ end
if source.type == 'field' then
source = source.parent
end