aboutsummaryrefslogtreecommitdiff
path: root/spellcheck.lua
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-04-28 10:08:44 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-04-28 10:08:44 +0200
commitfb4e9cc708b48e9b169138a3d64abf1cbe8882d2 (patch)
treeba704c5af46b86acd4868eddadc98de1ede73e10 /spellcheck.lua
parenta254660268d07ddaedc1ca2db2b5448a04a68c0c (diff)
downloadvis-spellcheck-fb4e9cc708b48e9b169138a3d64abf1cbe8882d2.tar.gz
vis-spellcheck-fb4e9cc708b48e9b169138a3d64abf1cbe8882d2.zip
don't ignore the first typo
The list commands used to retrieve all typos don't print a header line.
Diffstat (limited to 'spellcheck.lua')
-rw-r--r--spellcheck.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/spellcheck.lua b/spellcheck.lua
index e84e3db..21f4344 100644
--- a/spellcheck.lua
+++ b/spellcheck.lua
@@ -48,8 +48,6 @@ vis.events.subscribe(vis.events.WIN_HIGHLIGHT, function(win)
end
local corrections_iter = typos:gmatch("(.-)\n")
- -- skip header line
- corrections_iter()
local index = 0
for typo in corrections_iter do
if not ignored[typo] then