aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-09-23 09:55:57 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-09-23 09:55:57 +0200
commitc4844507850a13202f9483bdbb2b2f378c54e4ce (patch)
tree5a72b5f5b51f22400924bd424b384b3a0097600a
parentdfd0a30d09b8c8647911ae596ec14f3d6ae1ee7e (diff)
downloadvis-spellcheck-c4844507850a13202f9483bdbb2b2f378c54e4ce.tar.gz
vis-spellcheck-c4844507850a13202f9483bdbb2b2f378c54e4ce.zip
use backwards compatible style handling
Fixes: 781485b4637261d51a8124c937ef0faea650b53e
-rw-r--r--spellcheck.lua2
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