aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spellcheck.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/spellcheck.lua b/spellcheck.lua
index 5c5b5c9..5217c97 100644
--- a/spellcheck.lua
+++ b/spellcheck.lua
@@ -249,7 +249,7 @@ local wrap_lex_func = function(old_lex_func)
end
-- add tokens left after we handled all typos
- for i = i, #tokens, 1 do -- luacheck: ignore i
+ for i = i, #tokens do -- luacheck: ignore i
table.insert(new_tokens, tokens[i])
end