vim-patch:7.4.2303

Problem:    When using "is" the mode isn't always updated.
Solution:   Redraw the command line. (Christian Brabandt)

779f2fc3a7
This commit is contained in:
lonerover
2017-03-22 08:37:02 +08:00
parent c554b53040
commit 114a18b935
2 changed files with 3 additions and 2 deletions

View File

@@ -3028,7 +3028,8 @@ extend:
++curwin->w_cursor.col; ++curwin->w_cursor.col;
VIsual = start_pos; VIsual = start_pos;
VIsual_mode = 'v'; VIsual_mode = 'v';
redraw_curbuf_later(INVERTED); /* update the inversion */ redraw_cmdline = true; // show mode later
redraw_curbuf_later(INVERTED); // update the inversion
} else { } else {
/* include a newline after the sentence, if there is one */ /* include a newline after the sentence, if there is one */
if (incl(&curwin->w_cursor) == -1) if (incl(&curwin->w_cursor) == -1)

View File

@@ -138,7 +138,7 @@ static int included_patches[] = {
// 2306, // 2306,
2305, 2305,
// 2304 NA // 2304 NA
// 2303, 2303,
// 2302 NA // 2302 NA
// 2301 NA // 2301 NA
2300, 2300,