diff options
Diffstat (limited to 'script/core/hover/table.lua')
-rw-r--r-- | script/core/hover/table.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/script/core/hover/table.lua b/script/core/hover/table.lua index 88808daa..8f9beefe 100644 --- a/script/core/hover/table.lua +++ b/script/core/hover/table.lua @@ -163,6 +163,13 @@ return function (source) return nil end + for view in infer.getInfer(source):eachView() do + if view == 'string' + or vm.isSubType(view, 'string') then + return nil + end + end + local fields = vm.getFields(source) local keys, map = getKeyMap(fields) if #keys == 0 then |