summaryrefslogtreecommitdiff
path: root/script/vm/getLinks.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/getLinks.lua')
-rw-r--r--script/vm/getLinks.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/script/vm/getLinks.lua b/script/vm/getLinks.lua
index 91a5f1a0..86a38cfc 100644
--- a/script/vm/getLinks.lua
+++ b/script/vm/getLinks.lua
@@ -1,7 +1,7 @@
-local guide = require 'core.guide'
+local searcher = require 'core.searcher'
---@type vm
-local vm = require 'vm.vm'
-local files = require 'files'
+local vm = require 'vm.vm'
+local files = require 'files'
local function getFileLinks(uri)
local ws = require 'workspace'
@@ -11,7 +11,7 @@ local function getFileLinks(uri)
return links
end
tracy.ZoneBeginN('getFileLinks')
- guide.eachSpecialOf(ast.ast, 'require', function (source)
+ searcher.eachSpecialOf(ast.ast, 'require', function (source)
local call = source.parent
if not call or call.type ~= 'call' then
return