diff src/buffer.c @ 2799:537e0102c0f9 v7.3.175

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)
author Bram Moolenaar <bram@vim.org>
date Thu, 05 May 2011 17:32:44 +0200
parents c5e47b752f07
children 107b03fdf1ad
line wrap: on
line diff
--- 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
 }
 
 /*