summaryrefslogtreecommitdiff
path: root/script/vm/ref.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-14 22:23:32 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-14 22:23:32 +0800
commit75509a89ecc69c683c015a97c9844746c81e6057 (patch)
tree9d2b0784a10fbda18784c3e939b6b65987569ff3 /script/vm/ref.lua
parent7df9f807faf27e3faea33842ed599963e00cdb0b (diff)
downloadlua-language-server-75509a89ecc69c683c015a97c9844746c81e6057.zip
cheanup
Diffstat (limited to 'script/vm/ref.lua')
-rw-r--r--script/vm/ref.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/ref.lua b/script/vm/ref.lua
index b086f6e1..65e8fdab 100644
--- a/script/vm/ref.lua
+++ b/script/vm/ref.lua
@@ -298,7 +298,7 @@ function vm.getRefs(source, fileNotify)
local hasLocal
local function pushResult(src)
- if src.type == 'local' and not src.dummy then
+ if src.type == 'local' then
if hasLocal then
return
end