From fb4e9cc708b48e9b169138a3d64abf1cbe8882d2 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 28 Apr 2020 10:08:44 +0200 Subject: don't ignore the first typo The list commands used to retrieve all typos don't print a header line. --- spellcheck.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'spellcheck.lua') 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 -- cgit v1.2.3