diff options
author | vimboss <devnull@localhost> | 2008-01-12 17:13:50 +0000 |
---|---|---|
committer | vimboss <devnull@localhost> | 2008-01-12 17:13:50 +0000 |
commit | c2575fe3f333fc4adf95e552793c8885aabf7f39 (patch) | |
tree | 4b2bb7b3ed9df8c797c6fbda9b746376d2e5241e | |
parent | b175b6a931153de5891c729d759ba625a7a474ab (diff) | |
download | vim-c2575fe3f333fc4adf95e552793c8885aabf7f39.tar.gz |
-rw-r--r-- | src/edit.c | 8 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 10 insertions, 0 deletions
@@ -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 019a2d2a..5765fe0d 100644 --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 221, +/**/ 220, /**/ 219, |