diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-05-19 14:41:18 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-05-19 14:41:18 +0800 |
commit | b2e8f04b3509caf5df2f41fa0858ef92df3700fc (patch) | |
tree | 219f5d3223cd18e8ce11aa45f7539f4eebe07075 /script/core/diagnostics/close-non-object.lua | |
parent | 81a3ad79e4f057d5670689e27823acf8391ce621 (diff) | |
download | lua-language-server-b2e8f04b3509caf5df2f41fa0858ef92df3700fc.zip |
update
Diffstat (limited to 'script/core/diagnostics/close-non-object.lua')
-rw-r--r-- | script/core/diagnostics/close-non-object.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/diagnostics/close-non-object.lua b/script/core/diagnostics/close-non-object.lua index 11c2b820..7828efe9 100644 --- a/script/core/diagnostics/close-non-object.lua +++ b/script/core/diagnostics/close-non-object.lua @@ -1,5 +1,5 @@ local files = require 'files' -local searcher = require 'core.searcher' +local guide = require 'parser.guide' local lang = require 'language' return function (uri, callback) @@ -8,7 +8,7 @@ return function (uri, callback) return end - searcher.eachSourceType(state.ast, 'local', function (source) + guide.eachSourceType(state.ast, 'local', function (source) if not source.attrs then return end |