summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-04 11:09:20 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-04 11:09:20 +0800
commitf2d2caca5646ef3de9d55c0610deb96c25c5f962 (patch)
tree16a0503008a1c47cdee0ee44e1956b32d635b734 /script
parent92562f4e2fbec5089da5b905036484e90e2698f9 (diff)
downloadlua-language-server-f2d2caca5646ef3de9d55c0610deb96c25c5f962.zip
fix cache
Diffstat (limited to 'script')
-rw-r--r--script/parser/guide.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index 18a2403d..9775f566 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -2905,9 +2905,6 @@ function m.getRefCache(status, obj, mode)
for i = 1, #results do
sourceCache[i] = results[i]
end
- if not isDeep then
- return
- end
if mode == 'ref'
or mode == 'def' then
for i = 1, #results do