diff options
Diffstat (limited to 'server/src/matcher/hover.lua')
-rw-r--r-- | server/src/matcher/hover.lua | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/server/src/matcher/hover.lua b/server/src/matcher/hover.lua index 911cf964..e5ec1918 100644 --- a/server/src/matcher/hover.lua +++ b/server/src/matcher/hover.lua @@ -360,12 +360,7 @@ local function getValueHover(name, valueType, result, source, lib) ]]):format(text, tip) end -return function (vm, pos) - local result, source = findResult(vm, pos) - if not result then - return nil - end - +return function (vm, result, source) if not result.value then return end |