summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-08-04 16:53:05 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-08-04 16:53:05 +0800
commit7f42574b769149fd0acad0f6396c933b278acc5b (patch)
tree056bae733ca6f5943db50b03ec08d06ee7144b4a
parenta6a37500fb306d5aaf14306f5aa7d00f86483133 (diff)
downloadlua-language-server-7f42574b769149fd0acad0f6396c933b278acc5b.zip
cleanup
-rw-r--r--script/core/searcher.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua
index b246094c..ef2b13c2 100644
--- a/script/core/searcher.lua
+++ b/script/core/searcher.lua
@@ -272,7 +272,7 @@ local function crossSearch(status, uri, expect, mode, sourceUri)
end
local function checkCache(status, uri, expect, mode)
- local cache = vm.getCache('search:' .. mode)
+ local cache = status.cache
local fileCache = cache[uri]
if not fileCache then
fileCache = {}