diff options
author | Florian Fischer <florian.fischer@muhq.space> | 2023-11-27 18:25:34 +0100 |
---|---|---|
committer | Florian Fischer <florian.fischer@muhq.space> | 2023-11-27 18:25:34 +0100 |
commit | 74b9940faa3f66a3dfbf759188faf0016cb8ed39 (patch) | |
tree | c92206c2391828b12345d9894dc56f68069a2cb2 | |
parent | f1c220802abcbb10a139ef99c98c803c10ca74e5 (diff) | |
download | vis-spellcheck-74b9940faa3f66a3dfbf759188faf0016cb8ed39.tar.gz |
use spelling_language in spelllang optionmaster
Fixes: f1c220802abcbb10a139ef99c98c803c10ca74e5
-rw-r--r-- | spellcheck.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spellcheck.lua b/spellcheck.lua index c0082c7..3cbf619 100644 --- a/spellcheck.lua +++ b/spellcheck.lua @@ -450,7 +450,7 @@ vis:map(vis.modes.NORMAL, '<C-w>a', function() end, 'Add word to user dictionary') vis:option_register('spelllang', 'string', function(value) - vis.win.file.spell_language = value + vis.win.file.spelling_language = value vis:info('Spellchecking language is now ' .. value) -- force new highlight for full viewport last_viewport = nil |