summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-10 17:48:13 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-10 17:48:13 +0800
commit22845a130683157df65b2868765758767f6116ae (patch)
tree1494c8d7defe1aeeb6543ac13ed2b077c8910752 /script/vm
parent0084783b5b5040197830af1600b558029d5dd823 (diff)
downloadlua-language-server-22845a130683157df65b2868765758767f6116ae.zip
stash
Diffstat (limited to 'script/vm')
-rw-r--r--script/vm/getGlobals.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/getGlobals.lua b/script/vm/getGlobals.lua
index bea192ef..e5bcafc0 100644
--- a/script/vm/getGlobals.lua
+++ b/script/vm/getGlobals.lua
@@ -19,7 +19,7 @@ local function getGlobalsOfFile(uri)
local globals = {}
cache.globals = globals
tracy.ZoneBeginN 'getGlobalsOfFile'
- local results = searcher.findGlobals(uri)
+ local results = searcher.findGlobals(uri, 'ref')
local subscribe = ws.getCache 'globalSubscribe'
subscribe[uri] = {}
local mark = {}