mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
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:
committed by
Christian Brabandt
parent
0c59c30271
commit
322ad0c953
@@ -3584,7 +3584,7 @@ did_set_spellfile(optset_T *args)
|
||||
|
||||
// If there is a window for this buffer in which 'spell' is set load the
|
||||
// wordlists.
|
||||
return did_set_spell_option(TRUE);
|
||||
return did_set_spell_option();
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -3600,7 +3600,7 @@ did_set_spelllang(optset_T *args)
|
||||
|
||||
// If there is a window for this buffer in which 'spell' is set load the
|
||||
// wordlists.
|
||||
return did_set_spell_option(FALSE);
|
||||
return did_set_spell_option();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user