diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-05-10 08:18:16 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-05-10 08:18:16 +0200 |
| commit | 136a0c65537c08c0b745480880333d5b3b945737 (patch) | |
| tree | ceacd5064c31edef388de8b763500f75120dd5ec | |
| parent | b435a8beb09ccde9c469f7e47d6c12e5113030c6 (diff) | |
| download | vis-spellcheck-136a0c65537c08c0b745480880333d5b3b945737.tar.gz vis-spellcheck-136a0c65537c08c0b745480880333d5b3b945737.zip | |
always use the empty string to reset the cached data
| -rw-r--r-- | spellcheck.lua | 2 |
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') |
