mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.3.071
Problem: Editing a file in a window that's in diff mode resets 'diff' but not cursor binding. Solution: Reset cursor binding in two more places.
This commit is contained in:
@@ -9756,6 +9756,9 @@ copy_winopt(from, to)
|
|||||||
#ifdef FEAT_SCROLLBIND
|
#ifdef FEAT_SCROLLBIND
|
||||||
to->wo_scb = from->wo_scb;
|
to->wo_scb = from->wo_scb;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef FEAT_CURSORBIND
|
||||||
|
to->wo_crb = from->wo_crb;
|
||||||
|
#endif
|
||||||
#ifdef FEAT_SPELL
|
#ifdef FEAT_SPELL
|
||||||
to->wo_spell = from->wo_spell;
|
to->wo_spell = from->wo_spell;
|
||||||
#endif
|
#endif
|
||||||
|
@@ -2359,6 +2359,7 @@ ex_copen(eap)
|
|||||||
set_option_value((char_u *)"bt", 0L, (char_u *)"quickfix",
|
set_option_value((char_u *)"bt", 0L, (char_u *)"quickfix",
|
||||||
OPT_LOCAL);
|
OPT_LOCAL);
|
||||||
set_option_value((char_u *)"bh", 0L, (char_u *)"wipe", OPT_LOCAL);
|
set_option_value((char_u *)"bh", 0L, (char_u *)"wipe", OPT_LOCAL);
|
||||||
|
RESET_BINDING(curwin);
|
||||||
#ifdef FEAT_DIFF
|
#ifdef FEAT_DIFF
|
||||||
curwin->w_p_diff = FALSE;
|
curwin->w_p_diff = FALSE;
|
||||||
#endif
|
#endif
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
71,
|
||||||
/**/
|
/**/
|
||||||
70,
|
70,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user