diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-09-23 09:55:57 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-09-23 09:55:57 +0200 |
| commit | c4844507850a13202f9483bdbb2b2f378c54e4ce (patch) | |
| tree | 5a72b5f5b51f22400924bd424b384b3a0097600a | |
| parent | dfd0a30d09b8c8647911ae596ec14f3d6ae1ee7e (diff) | |
| download | vis-spellcheck-c4844507850a13202f9483bdbb2b2f378c54e4ce.tar.gz vis-spellcheck-c4844507850a13202f9483bdbb2b2f378c54e4ce.zip | |
use backwards compatible style handling
Fixes: 781485b4637261d51a8124c937ef0faea650b53e
| -rw-r--r-- | spellcheck.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spellcheck.lua b/spellcheck.lua index b8d68a0..7f725c1 100644 --- a/spellcheck.lua +++ b/spellcheck.lua @@ -195,7 +195,7 @@ local last_viewport, last_data, last_typos = nil, '', '' vis.events.subscribe(vis.events.WIN_HIGHLIGHT, function(win) if not spellcheck.check_full_viewport[win] or - not win:style_define(spellcheck.typo_style_id, spellcheck.typo_style) then + not style_define(spellcheck.typo_style_id, spellcheck.typo_style) then return end -- Be backward compatible with vis < v0.9 |
