summaryrefslogtreecommitdiff
path: root/script-beta/vm/eachDef.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-05-30 16:17:21 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-05-30 16:17:21 +0800
commitdb3fe02b476bc81bf7b0dc00125a4622346c0b92 (patch)
treee4aa6913f1dc2f9363309078f6e259516f0c7204 /script-beta/vm/eachDef.lua
parent245c99bb1ca69dab538c3106b640a478f963d6ed (diff)
downloadlua-language-server-db3fe02b476bc81bf7b0dc00125a4622346c0b92.zip
hover 合并 value
Diffstat (limited to 'script-beta/vm/eachDef.lua')
-rw-r--r--script-beta/vm/eachDef.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/script-beta/vm/eachDef.lua b/script-beta/vm/eachDef.lua
index 2f29aa83..ec9af0da 100644
--- a/script-beta/vm/eachDef.lua
+++ b/script-beta/vm/eachDef.lua
@@ -9,7 +9,9 @@ local function eachDef(source)
results[#results+1] = lib
end
if value then
- results[#results+1] = value
+ vm.eachDef(value, function (res)
+ results[#results+1] = res
+ end)
end
return results
end