diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-12-09 15:37:40 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-12-09 15:37:40 +0800 |
commit | 729073ec3619cde7c6be8102bc6e390f83d0dffd (patch) | |
tree | 7c2c2ea734e1d9421ceec99a9005f1cfdcea66f0 /script-beta/core | |
parent | fc3dbc4a1fb36f243991bd70bf9104bc750f000f (diff) | |
download | lua-language-server-729073ec3619cde7c6be8102bc6e390f83d0dffd.zip |
过hover测试
Diffstat (limited to 'script-beta/core')
-rw-r--r-- | script-beta/core/hover/return.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/core/hover/return.lua b/script-beta/core/hover/return.lua index a4d3b989..e10f9416 100644 --- a/script-beta/core/hover/return.lua +++ b/script-beta/core/hover/return.lua @@ -8,7 +8,7 @@ local function asLibrary(source) local returns = {} for _, rtn in ipairs(source.returns) do local name = rtn.name - local tp = rtn.type + local tp = rtn.type or 'any' if name then returns[#returns+1] = ('%s: %s'):format(name, tp) else |