summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
Diffstat (limited to 'script/core')
-rw-r--r--script/core/hover/description.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/core/hover/description.lua b/script/core/hover/description.lua
index 72ff561f..14da4fcf 100644
--- a/script/core/hover/description.lua
+++ b/script/core/hover/description.lua
@@ -105,7 +105,8 @@ local function getBindComment(source, docGroup, base)
break
else
continue = false
- if doc.type == 'doc.field' then
+ if doc.type == 'doc.field'
+ or doc.type == 'doc.class' then
lines = nil
end
end