aboutsummaryrefslogtreecommitdiff
path: root/spellcheck.lua
diff options
context:
space:
mode:
authorNomarian <nomarian@outlook.com>2025-10-09 11:54:20 -0400
committerFlorian Fischer <florian.fischer@muhq.space>2025-10-12 21:00:45 +0200
commitec0be43e90d7058ea822b8f60c9e62900e7d9bea (patch)
treeab604509fa1eb8cd98831454f62b646752399d36 /spellcheck.lua
parent4e324571ba0c29b8c1333c302e166ed27c83554c (diff)
downloadvis-spellcheck-ec0be43e90d7058ea822b8f60c9e62900e7d9bea.tar.gz
vis-spellcheck-ec0be43e90d7058ea822b8f60c9e62900e7d9bea.zip
Redundant step on for loop
Diffstat (limited to 'spellcheck.lua')
-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