summaryrefslogtreecommitdiff
path: root/script-beta/core/hover/label.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-28 01:49:59 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-28 01:49:59 +0800
commit24a8b40a37b8a80355b3d29c2e04c91c14d4c71b (patch)
treecc4a840771707467de9f45738e0055aef70adb30 /script-beta/core/hover/label.lua
parent0617cddc170ddb0070591a74f55a1eb8cea4b961 (diff)
downloadlua-language-server-24a8b40a37b8a80355b3d29c2e04c91c14d4c71b.zip
修正自动完成时无法预览标准库表结构的问题
Diffstat (limited to 'script-beta/core/hover/label.lua')
-rw-r--r--script-beta/core/hover/label.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/core/hover/label.lua b/script-beta/core/hover/label.lua
index 4fd569b2..91674023 100644
--- a/script-beta/core/hover/label.lua
+++ b/script-beta/core/hover/label.lua
@@ -56,7 +56,7 @@ local function asGlobal(source)
end
local function asLibrary(source)
-
+ return asValue(source, 'global')
end
local function isGlobalField(source)