diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-16 14:50:35 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-16 14:50:35 +0800 |
commit | 225fd6a94b989dc489d7e884ddd5845cd208aeea (patch) | |
tree | f57b48397cdf85ada40a079380b2fa4fa1bf8dbc /script | |
parent | 6fd670b15c9403e92ab9a803f8fa885fe3d9bee2 (diff) | |
download | lua-language-server-225fd6a94b989dc489d7e884ddd5845cd208aeea.zip |
fix #1215 penetrate parentheses
Diffstat (limited to 'script')
-rw-r--r-- | script/vm/runner.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/script/vm/runner.lua b/script/vm/runner.lua index 43cbd155..793b4417 100644 --- a/script/vm/runner.lua +++ b/script/vm/runner.lua @@ -294,6 +294,8 @@ function mt:_lookInto(action, topNode, outNode) self:_lookInto(arg, topNode) end end + elseif action.type == 'paren' then + topNode, outNode = self:_lookInto(action.exp, topNode, outNode) else guide.eachSourceContain(action, top.finish, function(source) self:_lookInto(source, topNode) |