diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-08-26 16:06:23 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-08-26 16:06:23 +0200 |
| commit | 6de1905b60282d1215dd2eed029295f13877868f (patch) | |
| tree | ef60f6d4f96048383ba9ebd947b2cdb149b1acdc | |
| parent | aed935dc991874acce1571edd070902f435bd82a (diff) | |
| download | vis-spellcheck-6de1905b60282d1215dd2eed029295f13877868f.tar.gz vis-spellcheck-6de1905b60282d1215dd2eed029295f13877868f.zip | |
fix typos in typo_iter documentation
| -rw-r--r-- | spellcheck.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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") |
