From: Bram Moolenaar Date: Sat, 12 Jan 2008 17:13:50 +0000 (+0000) Subject: updated for version 7.1-221 X-Git-Tag: v7.1.221 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e77c760819db65d074d07a492b1749e99cc8adb0;p=vim updated for version 7.1-221 --- diff --git a/src/edit.c b/src/edit.c index 4a9e1cf39..60fd65256 100644 --- a/src/edit.c +++ b/src/edit.c @@ -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; } diff --git a/src/version.c b/src/version.c index 019a2d2a3..5765fe0d3 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 221, /**/ 220, /**/