From a08959bc7a830018e88843649487a73497bb321a Mon Sep 17 00:00:00 2001 From: Thomas Vigouroux Date: Mon, 21 Sep 2020 15:38:57 +0200 Subject: vim-patch:8.2.0953: spell checking doesn't work for CamelCased words Problem: Spell checking doesn't work for CamelCased words. Solution: Add the "camel" value in the new option 'spelloptions'. (closes vim/vim#1235) https://github.com/vim/vim/commit/362b44bd4aa87a2aef0f8fd5a28d68dd09a7d909 --- src/nvim/options.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/nvim/options.lua') diff --git a/src/nvim/options.lua b/src/nvim/options.lua index f1221a52a2..02df0ab276 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -2319,6 +2319,16 @@ return { varname='p_sps', defaults={if_true={vi="best"}} }, + { + full_name='spelloptions', abbreviation='spo', + type='string', list='onecomma', scope={'buffer'}, + deny_duplicates=true, + secure=true, + vi_def=true, + expand=true, + varname='p_spo', + defaults={if_true={vi="", vim=""}} + }, { full_name='splitbelow', abbreviation='sb', type='bool', scope={'global'}, -- cgit