From 136a0c65537c08c0b745480880333d5b3b945737 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 10 May 2024 08:18:16 +0200 Subject: always use the empty string to reset the cached data --- spellcheck.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spellcheck.lua') diff --git a/spellcheck.lua b/spellcheck.lua index d8094cf..bfa8430 100644 --- a/spellcheck.lua +++ b/spellcheck.lua @@ -453,7 +453,7 @@ vis:option_register('spelllang', 'string', function(value) -- force new highlight for full viewport last_viewport = nil -- force new highlight for syntax aware - last_data = nil + last_data = '' return true end, 'The language used for spellchecking') -- cgit v1.2.3