mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
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:
@@ -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)
|
||||||
|
@@ -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,
|
||||||
|
Reference in New Issue
Block a user