mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
updated for version 7.0223
This commit is contained in:
14
src/move.c
14
src/move.c
@@ -842,7 +842,11 @@ validate_virtcol_win(wp)
|
|||||||
getvvcol(wp, &wp->w_cursor, NULL, &(wp->w_virtcol), NULL);
|
getvvcol(wp, &wp->w_cursor, NULL, &(wp->w_virtcol), NULL);
|
||||||
wp->w_valid |= VALID_VIRTCOL;
|
wp->w_valid |= VALID_VIRTCOL;
|
||||||
#ifdef FEAT_SYN_HL
|
#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);
|
redraw_win_later(wp, SOME_VALID);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@@ -1204,8 +1208,12 @@ curs_columns(scroll)
|
|||||||
#ifdef FEAT_SYN_HL
|
#ifdef FEAT_SYN_HL
|
||||||
/* Redraw when w_virtcol changes and 'cursorcolumn' is set, or when w_row
|
/* Redraw when w_virtcol changes and 'cursorcolumn' is set, or when w_row
|
||||||
* changes and 'cursorline' is set. */
|
* changes and 'cursorline' is set. */
|
||||||
if ((curwin->w_p_cuc && (curwin->w_valid & VALID_VIRTCOL) == 0)
|
if (((curwin->w_p_cuc && (curwin->w_valid & VALID_VIRTCOL) == 0)
|
||||||
|| (curwin->w_p_cul && (curwin->w_valid & VALID_WROW) == 0))
|
|| (curwin->w_p_cul && (curwin->w_valid & VALID_WROW) == 0))
|
||||||
|
# ifdef FEAT_INS_EXPAND
|
||||||
|
&& !pum_visible()
|
||||||
|
# endif
|
||||||
|
)
|
||||||
redraw_later(SOME_VALID);
|
redraw_later(SOME_VALID);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user