aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2020-09-21 15:38:57 +0200
committerThomas Vigouroux <tomvig38@gmail.com>2020-09-24 07:13:39 +0200
commita08959bc7a830018e88843649487a73497bb321a (patch)
tree25c2d4e98bcd5e24aed8de1d9f5101fc59f854a3 /src/nvim/options.lua
parent4f8d98e583beb4c1abd5d57b9898548396633030 (diff)
downloadrneovim-a08959bc7a830018e88843649487a73497bb321a.tar.gz
rneovim-a08959bc7a830018e88843649487a73497bb321a.tar.bz2
rneovim-a08959bc7a830018e88843649487a73497bb321a.zip
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
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua10
1 files changed, 10 insertions, 0 deletions
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
@@ -2320,6 +2320,16 @@ return {
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'},
vi_def=true,