aboutsummaryrefslogtreecommitdiff
path: root/spellcheck.lua
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-08-26 16:06:23 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-08-26 16:06:23 +0200
commit6de1905b60282d1215dd2eed029295f13877868f (patch)
treeef60f6d4f96048383ba9ebd947b2cdb149b1acdc /spellcheck.lua
parentaed935dc991874acce1571edd070902f435bd82a (diff)
downloadvis-spellcheck-6de1905b60282d1215dd2eed029295f13877868f.tar.gz
vis-spellcheck-6de1905b60282d1215dd2eed029295f13877868f.zip
fix typos in typo_iter documentation
Diffstat (limited to 'spellcheck.lua')
-rw-r--r--spellcheck.lua4
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")