summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-05-08 16:21:22 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-05-08 16:21:22 +0800
commit589055fefb2210b82dbd4a5cb601a230a1953d3b (patch)
tree91dd79856747aae72b5a78a27c3e312e8f3cf8de /script
parentb5dd953912738cac05d8292eb080c6860f18d418 (diff)
downloadlua-language-server-589055fefb2210b82dbd4a5cb601a230a1953d3b.zip
update submodules
Diffstat (limited to 'script')
-rw-r--r--script/core/completion.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/completion.lua b/script/core/completion.lua
index 0a5f688e..ef8f220f 100644
--- a/script/core/completion.lua
+++ b/script/core/completion.lua
@@ -492,7 +492,7 @@ local function checkFieldOfRefs(refs, ast, word, start, offset, parent, oop, res
end
local funcLabel
if config.config.completion.showParams then
- local value = guide.getObjectValue(src) or src
+ local value = searcher.getObjectValue(src) or src
if value.type == 'function'
or value.type == 'doc.type.function' then
funcLabel = name .. getParams(value, oop)