diff options
Diffstat (limited to 'spellcheck.lua')
| -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 |
