summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/circle-doc-class.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-04-20 18:08:20 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-04-20 18:08:20 +0800
commit554ddae7b4174131fadf16bda5a32e5e967abda5 (patch)
treec72e26dfd25150eaff2e87683a3de8a74b3fb3db /script/core/diagnostics/circle-doc-class.lua
parent6846a670da889ae45228a91bdbca7e695ff97b69 (diff)
downloadlua-language-server-554ddae7b4174131fadf16bda5a32e5e967abda5.zip
guide -> searcher
Diffstat (limited to 'script/core/diagnostics/circle-doc-class.lua')
-rw-r--r--script/core/diagnostics/circle-doc-class.lua11
1 files changed, 5 insertions, 6 deletions
diff --git a/script/core/diagnostics/circle-doc-class.lua b/script/core/diagnostics/circle-doc-class.lua
index 702cd904..3d32324d 100644
--- a/script/core/diagnostics/circle-doc-class.lua
+++ b/script/core/diagnostics/circle-doc-class.lua
@@ -1,8 +1,7 @@
-local files = require 'files'
-local guide = require 'core.guide'
-local lang = require 'language'
-local define = require 'proto.define'
-local vm = require 'vm'
+local files = require 'files'
+local searcher = require 'core.searcher'
+local lang = require 'language'
+local vm = require 'vm'
return function (uri, callback)
local state = files.getAst(uri)
@@ -19,7 +18,7 @@ return function (uri, callback)
if not doc.extends then
goto CONTINUE
end
- local myName = guide.getKeyName(doc)
+ local myName = searcher.getKeyName(doc)
local list = { doc }
local mark = {}
for i = 1, 999 do