summaryrefslogtreecommitdiff
path: root/script/core/hover
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/hover')
-rw-r--r--script/core/hover/label.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/script/core/hover/label.lua b/script/core/hover/label.lua
index a29cf672..3322e0d3 100644
--- a/script/core/hover/label.lua
+++ b/script/core/hover/label.lua
@@ -50,8 +50,7 @@ local function asValue(source, title)
local literal = infer.searchAndViewLiterals(source)
local cont
if not infer.hasType(source, 'string')
- and not type:find('%[%]$')
- and not type:find('%w%<') then
+ and not type:find('%[%]$') then
if #vm.getRefs(source, '*') > 0
or infer.hasType(source, 'table') then
cont = buildTable(source)