summaryrefslogtreecommitdiff
path: root/script/core/guide.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-05-07 16:20:35 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-05-07 16:20:35 +0800
commitd0f2fff90e56a6e2b1448217174e29fb0d17d05a (patch)
tree41ac0f2928e3b599f9e2122f8796ed8c325a2e6d /script/core/guide.lua
parent6c0fc0d438154f2164e10674f5c1a4b983382039 (diff)
downloadlua-language-server-d0f2fff90e56a6e2b1448217174e29fb0d17d05a.zip
resolve #478 new setting: `completion.showParams`
Diffstat (limited to 'script/core/guide.lua')
-rw-r--r--script/core/guide.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/core/guide.lua b/script/core/guide.lua
index 367b91e2..e4871060 100644
--- a/script/core/guide.lua
+++ b/script/core/guide.lua
@@ -1842,6 +1842,8 @@ function m.checkSameSimpleByBindDocs(status, obj, start, pushQueue, mode)
if obj.type == '...' then
results[#results+1] = doc
end
+ elseif doc.type == 'doc.overload' then
+ results[#results+1] = doc.overload
end
end
for _, res in ipairs(results) do