mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.3.801
Problem: ":window set nu?" displays the cursor line. (Nazri Ramliy) Solution: Do not update the cursor line when conceallevel is zero or the screen has scrolled. (partly by Christian Brabandt)
This commit is contained in:
@@ -725,6 +725,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
801,
|
||||||
/**/
|
/**/
|
||||||
800,
|
800,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -3991,9 +3991,10 @@ win_goto(wp)
|
|||||||
|
|
||||||
#ifdef FEAT_CONCEAL
|
#ifdef FEAT_CONCEAL
|
||||||
/* Conceal cursor line in previous window, unconceal in current window. */
|
/* Conceal cursor line in previous window, unconceal in current window. */
|
||||||
if (win_valid(owp))
|
if (win_valid(owp) && owp->w_p_cole > 0 && !msg_scrolled)
|
||||||
update_single_line(owp, owp->w_cursor.lnum);
|
update_single_line(owp, owp->w_cursor.lnum);
|
||||||
update_single_line(curwin, curwin->w_cursor.lnum);
|
if (curwin->w_p_cole > 0 && !msg_scrolled)
|
||||||
|
need_cursor_line_redraw = TRUE;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user