diff options
Diffstat (limited to 'spellcheck.lua')
| -rw-r--r-- | spellcheck.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spellcheck.lua b/spellcheck.lua index a6879b8..b14aec2 100644 --- a/spellcheck.lua +++ b/spellcheck.lua @@ -49,7 +49,7 @@ vis.events.subscribe(vis.events.WIN_HIGHLIGHT, function(win) end local corrections_iter = typos:gmatch("(.-)\n") - local index = 0 + local index = 1 for typo in corrections_iter do if not ignored[typo] then local start, finish = viewport_text:find(typo, index, true) |
