summaryrefslogtreecommitdiff
path: root/script/core/hover/table.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-03-31 20:17:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-03-31 20:17:15 +0800
commit3e516dd717440cad6fce8731a2b627abc6335bbb (patch)
tree39697f19197678af0a8ec6076faa80af01a911f3 /script/core/hover/table.lua
parent19e1709f0d53975fa0e752cb64c0c47e3c48bedf (diff)
downloadlua-language-server-3e516dd717440cad6fce8731a2b627abc6335bbb.zip
cleanup
Diffstat (limited to 'script/core/hover/table.lua')
-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 e2c439af..4ad5e552 100644
--- a/script/core/hover/table.lua
+++ b/script/core/hover/table.lua
@@ -154,7 +154,7 @@ return function (source)
return 'table'
end
- local fields = vm.getRefs(source, '*')
+ local fields = vm.getFields(source)
local keys = getKeyMap(fields)
local optMap = getOptionalMap(fields)