diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-07 20:15:35 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-07 20:15:35 +0800 |
commit | a6930417f3da299d4f15f4404b6d3dd900ec38f9 (patch) | |
tree | 20960f6cbd1bd38c23fda0fb8e28faf66c38ea90 /server-beta | |
parent | a80d62baf3568e42ffa796509a2056dd9021c462 (diff) | |
download | lua-language-server-a6930417f3da299d4f15f4404b6d3dd900ec38f9.zip |
修正一个bug
Diffstat (limited to 'server-beta')
-rw-r--r-- | server-beta/src/searcher/eachRef.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server-beta/src/searcher/eachRef.lua b/server-beta/src/searcher/eachRef.lua index 3ae020cd..219dd68c 100644 --- a/server-beta/src/searcher/eachRef.lua +++ b/server-beta/src/searcher/eachRef.lua @@ -74,10 +74,14 @@ local function ofValue(value, callback) end return end + callback { source = value, mode = 'value', } + + searcher.eachRef(value, callback) + local parent = value.parent if parent.type == 'local' or parent.type == 'setglobal' |