summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-28 17:23:14 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-28 17:23:14 +0800
commite1cdcbe08aecb3a9c70cc0ce9c9bdd4a59dada0c (patch)
tree80b2a20400eae23922520fc8d03d1836b7e02153 /script/core
parent9c6b9bda1a797213aa896eb705b16a232c71fee9 (diff)
downloadlua-language-server-e1cdcbe08aecb3a9c70cc0ce9c9bdd4a59dada0c.zip
cleanup
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 26776634..653daff9 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 ipairs(words) do
+ for str in pairs(words) do
if #results >= 100 then
break
end