diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-13 02:47:34 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-13 02:47:34 +0800 |
commit | 7fdc3519e62f00f236956d272295b241d4bfa762 (patch) | |
tree | d3a1fc449350ea641ad23a229138a97cbe0fe825 /script/vm/ref.lua | |
parent | f760dc359b389c20a0d48bef463d14800e67894c (diff) | |
download | lua-language-server-7fdc3519e62f00f236956d272295b241d4bfa762.zip |
cleanup
Diffstat (limited to 'script/vm/ref.lua')
-rw-r--r-- | script/vm/ref.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/ref.lua b/script/vm/ref.lua index 59b62c15..93412dee 100644 --- a/script/vm/ref.lua +++ b/script/vm/ref.lua @@ -272,7 +272,7 @@ local function searchByNode(source, pushResult) return end local uri = guide.getUri(source) - for n in nodeMgr.eachNode(node) do + for n in nodeMgr.eachObject(node) do if n.type == 'global' then for _, get in ipairs(n:getGets(uri)) do pushResult(get) |