diff options
-rw-r--r-- | server/src/matcher/signature.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/matcher/signature.lua b/server/src/matcher/signature.lua index 159fde80..7b51d5e6 100644 --- a/server/src/matcher/signature.lua +++ b/server/src/matcher/signature.lua @@ -46,7 +46,10 @@ return function (vm, pos) local hovers = {} for _, call in ipairs(calls) do - hovers[#hovers+1] = hover(call.var, call.source, nil, call.select) + local hvr = hover(call.var, call.source, nil, call.select) + if hvr.argLabel then + hovers[#hovers+1] = hvr + end end if #hovers == 0 then |