]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.175 v7.3.175
authorBram Moolenaar <Bram@vim.org>
Thu, 5 May 2011 15:32:44 +0000 (17:32 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 5 May 2011 15:32:44 +0000 (17:32 +0200)
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
src/version.c

index f9251298341c84d5f3a6e5ce537436524829de53..254331ef2b8d0c0817d73cd2e6bc1fb61f7636cc 100644 (file)
@@ -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
 }
 
 /*
index b6c460997d286b4eda66f8d655d52e19c53a040e..37e09b359cbf29107b8aab322dce9406b1a51a24 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    175,
 /**/
     174,
 /**/