aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-10-15 09:40:54 +0800
committerGitHub <noreply@github.com>2024-10-15 09:40:54 +0800
commitf25ebc229042d605cde1ba365883657fd0c0e693 (patch)
tree5fafc5d5aecfc93684d5c83e1263bf6350bf9e8a /src/nvim/option.c
parent09e7f19511ebb681497cc15ae08a569fe3a63cdb (diff)
downloadrneovim-f25ebc229042d605cde1ba365883657fd0c0e693.tar.gz
rneovim-f25ebc229042d605cde1ba365883657fd0c0e693.tar.bz2
rneovim-f25ebc229042d605cde1ba365883657fd0c0e693.zip
vim-patch:9.1.0783: 'spell' option setting has problems (#30818)
Problem: 'spell' option setting has problems Solution: correctly check for comma for 'spellfile' option, remove unnecessary checks, refactor slightly (Milly) closes: vim/vim#15873 https://github.com/vim/vim/commit/322ad0c953b7a3023cd2a65db61d05e180a5d682 Co-authored-by: Milly <milly.ca@gmail.com>
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index f54da54a4b..0aa9cf4d93 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -1705,7 +1705,7 @@ static void didset_options(void)
spell_check_msm();
spell_check_sps();
compile_cap_prog(curwin->w_s);
- did_set_spell_option(true);
+ did_set_spell_option();
// set cedit_key
did_set_cedit(NULL);
// initialize the table for 'breakat'.