diff options
| author | Nomarian <nomarian@outlook.com> | 2025-10-09 11:47:32 -0400 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-10-12 21:00:37 +0200 |
| commit | 4e324571ba0c29b8c1333c302e166ed27c83554c (patch) | |
| tree | 808733b7f8ad35b3b2d8d4791c8ac036610094ab | |
| parent | 72c5b69a00429bf62a8879c7ce5f2d6c204cc0cf (diff) | |
| download | vis-spellcheck-4e324571ba0c29b8c1333c302e166ed27c83554c.tar.gz vis-spellcheck-4e324571ba0c29b8c1333c302e166ed27c83554c.zip | |
Removed impossibility
| -rw-r--r-- | spellcheck.lua | 3 |
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 |
