summaryrefslogtreecommitdiff
path: root/script/core/hover
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/hover')
-rw-r--r--script/core/hover/label.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/script/core/hover/label.lua b/script/core/hover/label.lua
index 68af973e..a54abd09 100644
--- a/script/core/hover/label.lua
+++ b/script/core/hover/label.lua
@@ -48,7 +48,9 @@ local function asValue(source, title)
local class = vm.getClass(source, 0)
local literal = vm.getInferLiteral(source, 0)
local cont
- if not vm.hasInferType(source, 'string', 0) and not type:find('%[%]$') then
+ if not vm.hasInferType(source, 'string', 0)
+ and not type:find('%[%]$')
+ and not type:find('%w%<') then
if #vm.getFields(source, 0) > 0
or vm.hasInferType(source, 'table', 0) then
cont = buildTable(source)