summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-09-01 20:58:24 +0200
committerBram Moolenaar <Bram@vim.org>2016-09-01 20:58:24 +0200
commit779f2fc3a7468e273897d2fd0672315812a2e3da (patch)
tree31b2d3b12ab9a2a5671fa95a22a365a9a9b78ab2
parentf1b512a0b62d0fa47ee9b2612556f375e1f22fc2 (diff)
downloadvim-git-7.4.2303.tar.gz
patch 7.4.2303v7.4.2303
Problem: When using "is" the mode isn't always updated. Solution: Redraw the command line. (Christian Brabandt)
-rw-r--r--src/search.c1
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/search.c b/src/search.c
index a6b93415d..bbda8acce 100644
--- a/src/search.c
+++ b/src/search.c
@@ -3638,6 +3638,7 @@ extend:
++curwin->w_cursor.col;
VIsual = start_pos;
VIsual_mode = 'v';
+ redraw_cmdline = TRUE; /* show mode later */
redraw_curbuf_later(INVERTED); /* update the inversion */
}
else
diff --git a/src/version.c b/src/version.c
index d2296c4b3..edee28a67 100644
--- a/src/version.c
+++ b/src/version.c
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2303,
+/**/
2302,
/**/
2301,