summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-05-19 14:41:18 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-05-19 14:41:18 +0800
commitb2e8f04b3509caf5df2f41fa0858ef92df3700fc (patch)
tree219f5d3223cd18e8ce11aa45f7539f4eebe07075 /script/vm
parent81a3ad79e4f057d5670689e27823acf8391ce621 (diff)
downloadlua-language-server-b2e8f04b3509caf5df2f41fa0858ef92df3700fc.zip
update
Diffstat (limited to 'script/vm')
-rw-r--r--script/vm/eachDef.lua2
-rw-r--r--script/vm/eachRef.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/script/vm/eachDef.lua b/script/vm/eachDef.lua
index a00b61bb..b120c8a5 100644
--- a/script/vm/eachDef.lua
+++ b/script/vm/eachDef.lua
@@ -31,7 +31,7 @@ end
function vm.getDefs(source, deep)
deep = deep or -999
- if searcher.isGlobal(source) then
+ if false and searcher.isGlobal(source) then
local key = searcher.getKeyName(source)
if not key then
return {}
diff --git a/script/vm/eachRef.lua b/script/vm/eachRef.lua
index 0556a6a3..7ac523ee 100644
--- a/script/vm/eachRef.lua
+++ b/script/vm/eachRef.lua
@@ -30,7 +30,7 @@ end
function vm.getRefs(source, deep)
deep = deep or -999
- if searcher.isGlobal(source) then
+ if false and searcher.isGlobal(source) then
local key = searcher.getKeyName(source)
if not key then
return {}