diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-28 17:23:14 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-28 17:23:14 +0800 |
commit | e1cdcbe08aecb3a9c70cc0ce9c9bdd4a59dada0c (patch) | |
tree | 80b2a20400eae23922520fc8d03d1836b7e02153 /script/core | |
parent | 9c6b9bda1a797213aa896eb705b16a232c71fee9 (diff) | |
download | lua-language-server-e1cdcbe08aecb3a9c70cc0ce9c9bdd4a59dada0c.zip |
cleanup
Diffstat (limited to 'script/core')
-rw-r--r-- | script/core/completion.lua | 2 |
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 |