summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-13 02:47:34 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-13 02:47:34 +0800
commit7fdc3519e62f00f236956d272295b241d4bfa762 (patch)
treed3a1fc449350ea641ad23a229138a97cbe0fe825 /script/core
parentf760dc359b389c20a0d48bef463d14800e67894c (diff)
downloadlua-language-server-7fdc3519e62f00f236956d272295b241d4bfa762.zip
cleanup
Diffstat (limited to 'script/core')
-rw-r--r--script/core/completion/completion.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/completion/completion.lua b/script/core/completion/completion.lua
index 9f0c6695..f429ad14 100644
--- a/script/core/completion/completion.lua
+++ b/script/core/completion/completion.lua
@@ -1406,7 +1406,7 @@ local function tryCallArg(state, position, results)
end
local node = compiler.compileCallArg({ type = 'dummyarg' }, call, argIndex)
local enums = {}
- for src in nodeMgr.eachNode(node) do
+ for src in nodeMgr.eachObject(node) do
if src.type == 'doc.type.string'
or src.type == 'doc.type.integer'
or src.type == 'doc.type.boolean' then