diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-04-28 10:08:44 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-04-28 10:08:44 +0200 |
| commit | fb4e9cc708b48e9b169138a3d64abf1cbe8882d2 (patch) | |
| tree | ba704c5af46b86acd4868eddadc98de1ede73e10 | |
| parent | a254660268d07ddaedc1ca2db2b5448a04a68c0c (diff) | |
| download | vis-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.
| -rw-r--r-- | spellcheck.lua | 2 |
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 |
