diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-08-30 21:55:26 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-08-30 21:55:26 +0000 |
commit | da2303d96b0f55d30e9b5b57d3459d5e1ea22ec2 (patch) | |
tree | 08f61aa2e9937f30bd141fd6509bc947e1d8a8fa /src/screen.c | |
parent | ac6e65f88da446bc764ff13a23d854fd72ffedcf (diff) | |
download | vim-da2303d96b0f55d30e9b5b57d3459d5e1ea22ec2.zip |
updated for version 7.0139
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 4 |
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 } |