diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-12 16:28:49 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-12 16:28:49 +0800 |
commit | 84cd1c05f26842c2ae72238ec5d68bba8464ef4d (patch) | |
tree | d1b49e150d6bbade44c48809bbad26d22b40415b /script/core/hover/args.lua | |
parent | c7c1249dc0b30fa47dc8b8f12a9bb8a8995cfa6c (diff) | |
download | lua-language-server-84cd1c05f26842c2ae72238ec5d68bba8464ef4d.zip |
fix
Diffstat (limited to 'script/core/hover/args.lua')
-rw-r--r-- | script/core/hover/args.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/hover/args.lua b/script/core/hover/args.lua index 321fb081..bb4d4297 100644 --- a/script/core/hover/args.lua +++ b/script/core/hover/args.lua @@ -46,10 +46,10 @@ local function asFunction(source) end local function asDocFunction(source) + local args = {} if not source.args then - return '' + return args end - local args = {} for i = 1, #source.args do local arg = source.args[i] local name = arg.name[1] |