summaryrefslogtreecommitdiff
path: root/script/core/searcher.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-18 19:48:11 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-18 19:48:11 +0800
commit2c461c6fc0a46b9ef44293dc9d8524b60d5c1f75 (patch)
tree0092508b2a9244d6a876d2f4cb3a5b124aefeb20 /script/core/searcher.lua
parent78e9c078f77fce1f7d6816a0904e38f45a0164e4 (diff)
downloadlua-language-server-2c461c6fc0a46b9ef44293dc9d8524b60d5c1f75.zip
no more ID cache
Diffstat (limited to 'script/core/searcher.lua')
-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 75176961..ee8af71a 100644
--- a/script/core/searcher.lua
+++ b/script/core/searcher.lua
@@ -200,7 +200,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 = vm.getCache('search:' .. mode, true)
local fileCache = cache[uri]
if not fileCache then
fileCache = {}