diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-28 17:31:13 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-28 17:31:13 +0800 |
commit | d594b4c75f8dff61818242d19c13be22752aa04b (patch) | |
tree | bcf5e437f19e9ddc45f627576e7ffb93c14dd6a8 /script/core | |
parent | e1cdcbe08aecb3a9c70cc0ce9c9bdd4a59dada0c (diff) | |
download | lua-language-server-d594b4c75f8dff61818242d19c13be22752aa04b.zip |
Revert "cleanup"
This reverts commit e1cdcbe08aecb3a9c70cc0ce9c9bdd4a59dada0c.
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 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 |