summaryrefslogtreecommitdiff
path: root/script-beta/core/hover/arg.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-07 15:32:57 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-07 15:32:57 +0800
commitb4c327778810b0a34e5abe26508a91ddfffd45e6 (patch)
tree57bb15e5881d78a697c626c88bb880bbcadc8d8c /script-beta/core/hover/arg.lua
parentbf5578f46a2c59ba8a2d031cdba3c9ecfc092e11 (diff)
downloadlua-language-server-b4c327778810b0a34e5abe26508a91ddfffd45e6.zip
library跟进
Diffstat (limited to 'script-beta/core/hover/arg.lua')
-rw-r--r--script-beta/core/hover/arg.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/core/hover/arg.lua b/script-beta/core/hover/arg.lua
index a2b7e1b9..c85d8f38 100644
--- a/script-beta/core/hover/arg.lua
+++ b/script-beta/core/hover/arg.lua
@@ -5,7 +5,7 @@ local function mergeTypesInLibrary(types)
if type(types) == 'table' then
return table.concat(types, '|')
else
- return types
+ return types or 'any'
end
end