diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-06-24 22:54:42 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-06-24 22:54:42 +0800 |
commit | a4240bb9df3bb5ab19db1241b2194db918192385 (patch) | |
tree | 07fb04e266ff4f0f003f91e13e297f84b071d5c5 /server/src/core/hover | |
parent | 58a69cb45e07601354b3f14199999dcf213037c6 (diff) | |
download | lua-language-server-a4240bb9df3bb5ab19db1241b2194db918192385.zip |
修正测试错误
Diffstat (limited to 'server/src/core/hover')
-rw-r--r-- | server/src/core/hover/function.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/hover/function.lua b/server/src/core/hover/function.lua index 8621aee0..5358cfaa 100644 --- a/server/src/core/hover/function.lua +++ b/server/src/core/hover/function.lua @@ -95,7 +95,7 @@ local function getComment(func) if not func then return nil end - return func:getComment() or '' + return func:getComment() end return function (name, func, object, select) |