diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-03-31 23:00:02 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-03-31 23:00:02 +0800 |
commit | c1ca4d8af0cefd6222b76f83341774857cef44ec (patch) | |
tree | 135a6c44cee6e253a20dd33c78e5c85db3eb6495 /script/vm/field.lua | |
parent | 3e516dd717440cad6fce8731a2b627abc6335bbb (diff) | |
download | lua-language-server-c1ca4d8af0cefd6222b76f83341774857cef44ec.zip |
cleanup
Diffstat (limited to 'script/vm/field.lua')
-rw-r--r-- | script/vm/field.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/script/vm/field.lua b/script/vm/field.lua index 92448bb3..c30e112d 100644 --- a/script/vm/field.lua +++ b/script/vm/field.lua @@ -23,7 +23,10 @@ local function searchByNode(source, pushResult) if not node then return end - searchNodeSwitch(node.type, node, pushResult) + + for n in nodeMgr.eachNode(node) do + searchNodeSwitch(n.type, n, pushResult) + end end ---@param source parser.object |