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.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/hover/description.lua b/script/core/hover/description.lua
index 77c52de5..327ddbe1 100644
--- a/script/core/hover/description.lua
+++ b/script/core/hover/description.lua
@@ -126,7 +126,7 @@ local function getBindComment(source, docGroup, base)
end
local function tryDocClassComment(source)
- for _, def in ipairs(vm.getDefs(source, 0)) do
+ for _, def in ipairs(vm.getDefs(source)) do
if def.type == 'doc.class.name'
or def.type == 'doc.alias.name' then
local class = noder.getDocState(def)