From 74b9940faa3f66a3dfbf759188faf0016cb8ed39 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 27 Nov 2023 18:25:34 +0100 Subject: use spelling_language in spelllang option Fixes: f1c220802abcbb10a139ef99c98c803c10ca74e5 --- spellcheck.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, '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 -- cgit