From 1701e4069b94d8d03d02a9a6af99c48d360853cd Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 5 May 2011 17:32:44 +0200 Subject: 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) --- src/buffer.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/buffer.c') diff --git a/src/buffer.c b/src/buffer.c index f92512983..254331ef2 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -2527,6 +2527,9 @@ get_winopts(buf) if (p_fdls >= 0) curwin->w_p_fdl = p_fdls; #endif +#ifdef FEAT_SYN_HL + check_colorcolumn(curwin); +#endif } /* -- cgit v1.2.1