aboutsummaryrefslogtreecommitdiff
path: root/spellcheck.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spellcheck.lua')
-rw-r--r--spellcheck.lua2
1 files changed, 1 insertions, 1 deletions
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')