summaryrefslogtreecommitdiff
path: root/server/src/matcher/hover.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/matcher/hover.lua')
-rw-r--r--server/src/matcher/hover.lua4
1 files changed, 4 insertions, 0 deletions
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