summaryrefslogtreecommitdiff
path: root/script/core/signature.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-24 11:50:03 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-24 11:50:03 +0800
commit7bfb8412822c96bddc375d1ca62810010c74c1a3 (patch)
tree312d7a4ee46f41f373f1b7e41903d9cdef8c8646 /script/core/signature.lua
parent6467232bd9e5099be378b7a17bd183ef810c0d2d (diff)
downloadlua-language-server-7bfb8412822c96bddc375d1ca62810010c74c1a3.zip
deep level
Diffstat (limited to 'script/core/signature.lua')
-rw-r--r--script/core/signature.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/signature.lua b/script/core/signature.lua
index dad38924..d1fdd246 100644
--- a/script/core/signature.lua
+++ b/script/core/signature.lua
@@ -79,7 +79,7 @@ local function makeSignatures(call, pos)
index = 1
end
local signs = {}
- local defs = vm.getDefs(node, 'deep')
+ local defs = vm.getDefs(node, 0)
for _, src in ipairs(defs) do
if src.type == 'function'
or src.type == 'doc.type.function' then