From 5cf122870c659821929449d64bfc24d5913dbd77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 27 Dec 2018 10:30:59 +0800 Subject: =?UTF-8?q?hover=E8=BF=87=E6=BB=A4=E6=8E=89=E8=84=8F=E5=AF=B9?= =?UTF-8?q?=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/matcher/hover.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server/src/matcher/hover.lua') diff --git a/server/src/matcher/hover.lua b/server/src/matcher/hover.lua index 09b2e071..de2eeffb 100644 --- a/server/src/matcher/hover.lua +++ b/server/src/matcher/hover.lua @@ -399,6 +399,10 @@ return function (result, source, lsp, select) return end + if result.key == '' then + return + end + if result.type == 'string' then return getStringHover(result, lsp) end -- cgit v1.2.3