summaryrefslogtreecommitdiff
path: root/script-beta/core/hover/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-08-16 02:35:14 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-08-16 02:35:14 +0800
commit36b69f2c7f11e337897d282a10151548cb8876ea (patch)
treee3f5ced6617da4018648a415ae0c519fd74de61d /script-beta/core/hover/init.lua
parentc3cec6c8cd20c319c291431fbec55f1d1d596c6d (diff)
downloadlua-language-server-36b69f2c7f11e337897d282a10151548cb8876ea.zip
暂时屏蔽类型推断
Diffstat (limited to 'script-beta/core/hover/init.lua')
-rw-r--r--script-beta/core/hover/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script-beta/core/hover/init.lua b/script-beta/core/hover/init.lua
index e56b009e..007e8aad 100644
--- a/script-beta/core/hover/init.lua
+++ b/script-beta/core/hover/init.lua
@@ -74,6 +74,7 @@ local function getHoverAsValue(source)
end
local function getHover(source)
+ vm.setSearchLevel(5)
local isFunction = vm.hasType(source, 'function')
if isFunction then
return getHoverAsFunction(source)