summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-29 16:11:13 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-29 16:11:13 +0800
commit29585270524fdc92f273a64ac4816886e6835df4 (patch)
tree01ef8bd318993477d475a56d7ffc272800233d24
parent81211cf06a93cc1b9c2297c5dfb266de6d217ae4 (diff)
downloadlua-language-server-29585270524fdc92f273a64ac4816886e6835df4.zip
table hover use def fields
-rw-r--r--script/core/hover/table.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/hover/table.lua b/script/core/hover/table.lua
index 58e64951..2ef26959 100644
--- a/script/core/hover/table.lua
+++ b/script/core/hover/table.lua
@@ -211,7 +211,7 @@ return function (source)
local clock = os.clock()
local timeUp
local mark = {}
- local fields = vm.getFields(source, 0)
+ local fields = vm.getDefFields(source, 0)
local keyCount = 0
local reachMax
for _, src in ipairs(fields) do