summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-08-30 21:55:26 +0000
committerBram Moolenaar <Bram@vim.org>2005-08-30 21:55:26 +0000
commitda2303d96b0f55d30e9b5b57d3459d5e1ea22ec2 (patch)
tree08f61aa2e9937f30bd141fd6509bc947e1d8a8fa /src/screen.c
parentac6e65f88da446bc764ff13a23d854fd72ffedcf (diff)
downloadvim-da2303d96b0f55d30e9b5b57d3459d5e1ea22ec2.zip
updated for version 7.0139
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c
index ba345ae47..2c39ac73a 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -2939,6 +2939,10 @@ win_line(wp, lnum, startrow, endrow)
word_end = wp->w_cursor.col + len + 1;
wp->w_cursor = pos;
+
+ /* Need to restart syntax highlighting for this line. */
+ if (has_syntax)
+ syntax_start(wp, lnum);
}
#endif
}