diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-01-09 16:17:59 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-01-09 16:17:59 +0800 |
commit | 78875f59fe2fa846d62bf955805b647d17cf87d2 (patch) | |
tree | 39076ec29b109980435278450c4c2c02b662b8a4 /script/vm/def.lua | |
parent | fcafaa21f8df0423568ac67fe1c6159f6aa69173 (diff) | |
download | lua-language-server-78875f59fe2fa846d62bf955805b647d17cf87d2.zip |
trace-global
Diffstat (limited to 'script/vm/def.lua')
-rw-r--r-- | script/vm/def.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/def.lua b/script/vm/def.lua index c9558234..5388a384 100644 --- a/script/vm/def.lua +++ b/script/vm/def.lua @@ -78,7 +78,7 @@ function vm.getDefs(source) end if not mark[src] then mark[src] = true - if guide.isSet(src) + if guide.isAssign(src) or guide.isLiteral(src) then results[#results+1] = src end |