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/core/code-lens.lua | |
parent | fcafaa21f8df0423568ac67fe1c6159f6aa69173 (diff) | |
download | lua-language-server-78875f59fe2fa846d62bf955805b647d17cf87d2.zip |
trace-global
Diffstat (limited to 'script/core/code-lens.lua')
-rw-r--r-- | script/core/code-lens.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/code-lens.lua b/script/core/code-lens.lua index e83857b2..ed95ea6a 100644 --- a/script/core/code-lens.lua +++ b/script/core/code-lens.lua @@ -69,7 +69,7 @@ function mt:collectReferences() ---@async guide.eachSourceType(self.state.ast, 'function', function (src) local parent = src.parent - if guide.isSet(parent) then + if guide.isAssign(parent) then src = parent elseif parent.type == 'return' then else |