summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-10 20:02:20 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-10 20:02:20 +0800
commit9e6fa14b8ba6c1f9573a157f0282588222cbd525 (patch)
treebefa7151598750d932413acc312d84090457e5d6 /script/vm
parent22845a130683157df65b2868765758767f6116ae (diff)
downloadlua-language-server-9e6fa14b8ba6c1f9573a157f0282588222cbd525.zip
cleanup
Diffstat (limited to 'script/vm')
-rw-r--r--script/vm/getDocs.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/getDocs.lua b/script/vm/getDocs.lua
index dbb8b4fd..e712c6f7 100644
--- a/script/vm/getDocs.lua
+++ b/script/vm/getDocs.lua
@@ -35,7 +35,7 @@ function vm.getDocEnums(doc)
if not doc then
return nil
end
- local defs = searcher.requestDefinition(doc)
+ local defs = vm.getDefs(doc)
local results = {}
for _, def in ipairs(defs) do