summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
Diffstat (limited to 'script/core')
-rw-r--r--script/core/completion.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/completion.lua b/script/core/completion.lua
index 653daff9..26776634 100644
--- a/script/core/completion.lua
+++ b/script/core/completion.lua
@@ -640,7 +640,7 @@ local function checkCommon(myUri, word, text, offset, results)
if not words then
goto CONTINUE
end
- for str in pairs(words) do
+ for _, str in ipairs(words) do
if #results >= 100 then
break
end