1
0
forked from aniani/vim

patch 9.1.0783: 'spell' option setting has problems

Problem:  'spell' option setting has problems
Solution: correctly check for comma for 'spellfile' option,
          remove unnecessary checks, refactor slightly (Milly)

closes: #15873

Signed-off-by: Milly <milly.ca@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Milly
2024-10-14 20:21:48 +02:00
committed by Christian Brabandt
parent 0c59c30271
commit 322ad0c953
7 changed files with 28 additions and 23 deletions

View File

@@ -2956,7 +2956,7 @@ didset_options(void)
(void)spell_check_msm();
(void)spell_check_sps();
(void)compile_cap_prog(curwin->w_s);
(void)did_set_spell_option(TRUE);
(void)did_set_spell_option();
#endif
// set cedit_key
(void)did_set_cedit(NULL);