summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-04-13 10:40:35 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-04-13 10:40:35 +0800
commit81507913f43d51bd809575f166ed264e29bb07c4 (patch)
treebd1d53dbfb7c1464745c70ca86c4c23917468f15 /script/core
parent5dc53106c3291bd796b7c9145d6d2b9d695b15c1 (diff)
downloadlua-language-server-81507913f43d51bd809575f166ed264e29bb07c4.zip
fix #502
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