summaryrefslogtreecommitdiff
path: root/script/core/hover
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-01 03:35:40 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-01 03:35:40 +0800
commitb9fdfac7c33478161dc17b8e41a0bd46b6f23621 (patch)
treec9e748de4a93fa892851f8592545aadb20690009 /script/core/hover
parentd8e7c0b4b388c5ca125d17554814be68444ce1aa (diff)
downloadlua-language-server-b9fdfac7c33478161dc17b8e41a0bd46b6f23621.zip
update
Diffstat (limited to 'script/core/hover')
-rw-r--r--script/core/hover/description.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/hover/description.lua b/script/core/hover/description.lua
index 741d7cbd..83f4bcca 100644
--- a/script/core/hover/description.lua
+++ b/script/core/hover/description.lua
@@ -201,7 +201,7 @@ local function isFunction(source)
if source.type == 'function' then
return true
end
- local value = searcher.getObjectValue(source)
+ local value = vm.getObjectValue(source)
if not value then
return false
end