diff options
Diffstat (limited to 'script/core/hover/label.lua')
-rw-r--r-- | script/core/hover/label.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/hover/label.lua b/script/core/hover/label.lua index 73d924e1..ce77dfe6 100644 --- a/script/core/hover/label.lua +++ b/script/core/hover/label.lua @@ -49,11 +49,11 @@ local function asValue(source, title) local type = infer.searchAndViewInfers(source) local literal = infer.searchAndViewLiterals(source) local cont - if not infer.hasType(source, 'string', 0) + if not infer.hasType(source, 'string') and not type:find('%[%]$') and not type:find('%w%<') then if #vm.getRefs(source, '*') > 0 - or infer.hasType(source, 'table', 0) then + or infer.hasType(source, 'table') then cont = buildTable(source) end end |