summaryrefslogtreecommitdiff
path: root/script-beta/core/hover/table.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/core/hover/table.lua')
-rw-r--r--script-beta/core/hover/table.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script-beta/core/hover/table.lua b/script-beta/core/hover/table.lua
index dba70860..72af66e7 100644
--- a/script-beta/core/hover/table.lua
+++ b/script-beta/core/hover/table.lua
@@ -46,6 +46,9 @@ local function mergeLiteral(a, b)
return b
end
local view = util.viewLiteral(a)
+ if not view then
+ return b
+ end
if not b then
return { view, [view] = true }
end