forked from aniani/vim
updated for version 7.3.022
Problem: When opening a new window the 'spellcapcheck' option is cleared. Solution: Copy the correct option value. (Christian Brabandt)
This commit is contained in:
@@ -10011,7 +10011,7 @@ buf_copy_options(buf, flags)
|
|||||||
buf->b_p_smc = p_smc;
|
buf->b_p_smc = p_smc;
|
||||||
#endif
|
#endif
|
||||||
#ifdef FEAT_SPELL
|
#ifdef FEAT_SPELL
|
||||||
buf->b_s.b_p_spc = vim_strsave(p_spf);
|
buf->b_s.b_p_spc = vim_strsave(p_spc);
|
||||||
(void)compile_cap_prog(&buf->b_s);
|
(void)compile_cap_prog(&buf->b_s);
|
||||||
buf->b_s.b_p_spf = vim_strsave(p_spf);
|
buf->b_s.b_p_spf = vim_strsave(p_spf);
|
||||||
buf->b_s.b_p_spl = vim_strsave(p_spl);
|
buf->b_s.b_p_spl = vim_strsave(p_spl);
|
||||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
22,
|
||||||
/**/
|
/**/
|
||||||
21,
|
21,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user