summaryrefslogtreecommitdiff
path: root/script/core/folding.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/folding.lua')
-rw-r--r--script/core/folding.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/folding.lua b/script/core/folding.lua
index 15678995..1bbae944 100644
--- a/script/core/folding.lua
+++ b/script/core/folding.lua
@@ -1,5 +1,5 @@
local files = require "files"
-local guide = require "core.guide"
+local searcher = require "core.searcher"
local util = require 'utility'
local Care = {
@@ -153,7 +153,7 @@ return function (uri)
local regions = {}
local status = {}
- guide.eachSource(ast.ast, function (source)
+ searcher.eachSource(ast.ast, function (source)
local tp = source.type
if Care[tp] then
Care[tp](source, text, regions)