Skip to content

Commit cf06c0b

Browse files
committed
updated for version 7.3.175
Problem: When 'colorcolumn' is set locally to a window, ":new" opens a window with the same highlighting but 'colorcolumn' is empty. (Tyru) Solution: Call check_colorcolumn() after clearing and copying options. (Christian Brabandt)
1 parent fb45742 commit cf06c0b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/buffer.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2527,6 +2527,9 @@ get_winopts(buf)
25272527
if (p_fdls >= 0)
25282528
curwin->w_p_fdl = p_fdls;
25292529
#endif
2530+
#ifdef FEAT_SYN_HL
2531+
check_colorcolumn(curwin);
2532+
#endif
25302533
}
25312534

25322535
/*

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,8 @@ static char *(features[]) =
714714

715715
static int included_patches[] =
716716
{ /* Add new patch number below this line */
717+
/**/
718+
175,
717719
/**/
718720
174,
719721
/**/

0 commit comments

Comments
 (0)