From c4844507850a13202f9483bdbb2b2f378c54e4ce Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 23 Sep 2026 09:55:57 +0200 Subject: use backwards compatible style handling Fixes: 781485b4637261d51a8124c937ef0faea650b53e --- spellcheck.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3