]> granicus.if.org Git - vim/commitdiff
updated for version 7.1-221 v7.1.221
authorBram Moolenaar <Bram@vim.org>
Sat, 12 Jan 2008 17:13:50 +0000 (17:13 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 12 Jan 2008 17:13:50 +0000 (17:13 +0000)
src/edit.c
src/version.c

index 4a9e1cf399acae8fb884ea49a5d67347b6cf5150..60fd65256b4c1387784e86b36fa354ef918b277f 100644 (file)
@@ -1455,6 +1455,14 @@ ins_redraw(ready)
 # endif
                             )
        {
+# ifdef FEAT_SYN_HL
+           /* Need to update the screen first, to make sure syntax
+            * highlighting is correct after making a change (e.g., inserting
+            * a "(".  The autocommand may also require a redraw, so it's done
+            * again below, unfortunately. */
+           if (syntax_present(curbuf) && must_redraw)
+               update_screen(0);
+# endif
            apply_autocmds(EVENT_CURSORMOVEDI, NULL, NULL, FALSE, curbuf);
            last_cursormoved = curwin->w_cursor;
        }
index 019a2d2a35e784ed7dd00b06449c68ed41c00489..5765fe0d3664301e0f1073ea647fa6780d7a882b 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    221,
 /**/
     220,
 /**/