diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-10-29 20:17:39 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-10-29 20:17:39 +0800 |
commit | e98483d89ac38463cf5b717a3b19861baf8f3e94 (patch) | |
tree | a250d58d95a1eac28334ba40e888f08e4e47e83a /script-beta/vm/eachDef.lua | |
parent | 0ad52ca53a9e9d24ee9a3451e24ce68f8bee0ff9 (diff) | |
download | lua-language-server-e98483d89ac38463cf5b717a3b19861baf8f3e94.zip |
整理代码
Diffstat (limited to 'script-beta/vm/eachDef.lua')
-rw-r--r-- | script-beta/vm/eachDef.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/vm/eachDef.lua b/script-beta/vm/eachDef.lua index 8b3c6a9b..46d1887e 100644 --- a/script-beta/vm/eachDef.lua +++ b/script-beta/vm/eachDef.lua @@ -33,7 +33,7 @@ function vm.getDefs(source, deep) or eachDef(source, deep) vm.getCache('eachDefOfGlobal')[name] = cache return cache - elseif deep then + elseif not deep then return eachDef(source, deep) else local cache = vm.getCache('eachDef')[source] |