summaryrefslogtreecommitdiff
path: root/script-beta/core/hover/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-05 17:29:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-05 17:29:15 +0800
commit90b3e60098e05375ac721b7e655c2cb63ae227f3 (patch)
tree1fc707fbec3f88aa51ec0743421f8414827d20f4 /script-beta/core/hover/init.lua
parent605ed7e981b42507ae27e494617f5b3da3c2ece1 (diff)
downloadlua-language-server-90b3e60098e05375ac721b7e655c2cb63ae227f3.zip
整理代码
Diffstat (limited to 'script-beta/core/hover/init.lua')
-rw-r--r--script-beta/core/hover/init.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/script-beta/core/hover/init.lua b/script-beta/core/hover/init.lua
index 3876ab58..6436169a 100644
--- a/script-beta/core/hover/init.lua
+++ b/script-beta/core/hover/init.lua
@@ -93,7 +93,6 @@ local function getHover(source)
if source.type == 'doc.type.name' then
return getHoverAsDocName(source)
end
- vm.setSearchLevel(5)
local isFunction = vm.hasInferType(source, 'function', 'deep')
if isFunction then
return getHoverAsFunction(source)