From ec0be43e90d7058ea822b8f60c9e62900e7d9bea Mon Sep 17 00:00:00 2001 From: Nomarian Date: Thu, 9 Oct 2025 11:54:20 -0400 Subject: Redundant step on for loop --- spellcheck.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spellcheck.lua') 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 -- cgit v1.2.3