summaryrefslogtreecommitdiff
path: root/script/core/hover/table.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/hover/table.lua')
-rw-r--r--script/core/hover/table.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/core/hover/table.lua b/script/core/hover/table.lua
index 9e850c3e..b43151ea 100644
--- a/script/core/hover/table.lua
+++ b/script/core/hover/table.lua
@@ -74,6 +74,9 @@ local function getFieldFast(src)
end
return value.type, util.viewLiteral(literal)
end
+ if value.type == 'doc.field' then
+ return vm.getInferType(value)
+ end
end
local function getField(src, timeUp, mark, key)