diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-13 22:10:45 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-13 22:10:45 +0000 |
commit | 019ff6825b54e31efc71faf3ce55cb78bac24d35 (patch) | |
tree | e3b985e07a376c896514d15ce54829a48a807c99 /src/move.c | |
parent | 346d743df2d712be6f8459d093ad1ec3ec69ee04 (diff) | |
download | vim-git-019ff6825b54e31efc71faf3ce55cb78bac24d35.tar.gz |
updated for version 7.0223
Diffstat (limited to 'src/move.c')
-rw-r--r-- | src/move.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/move.c b/src/move.c index dca4f2666..c0bbac265 100644 --- a/src/move.c +++ b/src/move.c @@ -842,7 +842,11 @@ validate_virtcol_win(wp) getvvcol(wp, &wp->w_cursor, NULL, &(wp->w_virtcol), NULL); wp->w_valid |= VALID_VIRTCOL; #ifdef FEAT_SYN_HL - if (wp->w_p_cuc) + if (wp->w_p_cuc +# ifdef FEAT_INS_EXPAND + && !pum_visible() +# endif + ) redraw_win_later(wp, SOME_VALID); #endif } @@ -1204,8 +1208,12 @@ curs_columns(scroll) #ifdef FEAT_SYN_HL /* Redraw when w_virtcol changes and 'cursorcolumn' is set, or when w_row * changes and 'cursorline' is set. */ - if ((curwin->w_p_cuc && (curwin->w_valid & VALID_VIRTCOL) == 0) - || (curwin->w_p_cul && (curwin->w_valid & VALID_WROW) == 0)) + if (((curwin->w_p_cuc && (curwin->w_valid & VALID_VIRTCOL) == 0) + || (curwin->w_p_cul && (curwin->w_valid & VALID_WROW) == 0)) +# ifdef FEAT_INS_EXPAND + && !pum_visible() +# endif + ) redraw_later(SOME_VALID); #endif |