From 09a88a27fa3864c22fae842725c9f625cd4c766c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 2 Jan 2019 13:44:26 +0800 Subject: =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/core/hover.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server/src') diff --git a/server/src/core/hover.lua b/server/src/core/hover.lua index d0886e7c..9a2500f0 100644 --- a/server/src/core/hover.lua +++ b/server/src/core/hover.lua @@ -271,6 +271,10 @@ local function getValueHover(name, valueType, result, lib) end end + if type(valueType) == 'table' then + valueType = valueType[1] + end + if not OriginTypes[valueType] then valueType = '*' .. valueType end -- cgit v1.2.3