diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-05 21:15:08 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-05 21:15:08 +0800 |
commit | 48c53a36c6bad6662aabc8af98fb58d54ad9a498 (patch) | |
tree | fc2cfcfdfbb761f810d43030b3f948cae86f00c7 /script/core/hover | |
parent | 55166a406c56de8fe9f6932fabf9ca1c3cca469a (diff) | |
download | lua-language-server-48c53a36c6bad6662aabc8af98fb58d54ad9a498.zip |
resolve #1065 show detail for `doc.type.table`
Diffstat (limited to 'script/core/hover')
-rw-r--r-- | script/core/hover/label.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/core/hover/label.lua b/script/core/hover/label.lua index a91ca074..5befe84c 100644 --- a/script/core/hover/label.lua +++ b/script/core/hover/label.lua @@ -55,7 +55,8 @@ local function asValue(source, title) and ( type == 'table' or type == 'any' or type == 'unknown' - or type == 'nil') then + or type == 'nil' + or type:sub(1, 1) == '{') then else pack[#pack+1] = type end |