summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/circle-doc-class.lua
diff options
context:
space:
mode:
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