aboutsummaryrefslogtreecommitdiff
path: root/spellcheck.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spellcheck.lua')
-rw-r--r--spellcheck.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/spellcheck.lua b/spellcheck.lua
index 5065774..5c5b5c9 100644
--- a/spellcheck.lua
+++ b/spellcheck.lua
@@ -174,9 +174,6 @@ vis.events.subscribe(vis.events.WIN_HIGHLIGHT, function(win)
typos = last_typos
else
typos = get_typos(viewport) or ''
- if not typos then
- return
- end
end
for start, finish in typo_iter(viewport_text, typos, ignored) do