From 6de1905b60282d1215dd2eed029295f13877868f Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 26 Aug 2020 16:06:23 +0200 Subject: fix typos in typo_iter documentation --- spellcheck.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spellcheck.lua') diff --git a/spellcheck.lua b/spellcheck.lua index e9e3839..59c5630 100644 --- a/spellcheck.lua +++ b/spellcheck.lua @@ -75,8 +75,8 @@ end local ignored = {} -- Return an iterator over all not ignored typos and their positions in text. --- The returned iterator is a seelf contained statefull iterator function closure. --- Which will return the next typo and ist start and finish in the text, starting by 1. +-- The returned iterator is a self contained statefull iterator function closure. +-- Which will return the next typo and its start and finish in the text, starting by 1. local function typo_iter(text, typos, ignored) local index = 0 local unfiltered_iterator, iter_state = typos:gmatch("(.-)\n") -- cgit v1.2.3