aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHinidu <hinidu@gmail.com>2014-04-04 20:27:55 +0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-07 20:45:38 -0300
commite3ba6d97ff3d55c22ee9792b1cfdb9a7924ecf70 (patch)
treeae27515a4aad8fdea3397242686eb5d8e514b425
parent9e6f8954cd64bc742ff814a756432768d02bfe8b (diff)
downloadrneovim-e3ba6d97ff3d55c22ee9792b1cfdb9a7924ecf70.tar.gz
rneovim-e3ba6d97ff3d55c22ee9792b1cfdb9a7924ecf70.tar.bz2
rneovim-e3ba6d97ff3d55c22ee9792b1cfdb9a7924ecf70.zip
vim-patch:7.4.181
Problem: When using 'pastetoggle' the status lines are not updated. (Samuel Ferencik, Jan Christoph Ebersbach) Solution: Update the status lines. (Nobuhiro Takasaki) https://code.google.com/p/vim/source/detail?r=cb5683bcde03796baa7e845fd9a2fcaec3383538
-rw-r--r--src/getchar.c6
-rw-r--r--src/version.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 19892b6980..27b19b7940 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -383,7 +383,7 @@ static int read_readbuf(buffheader_T *buf, int advance)
}
/*
- * Prepare the read buffers for reading (if they contains something).
+ * Prepare the read buffers for reading (if they contain something).
*/
static void start_stuff(void)
{
@@ -1938,6 +1938,10 @@ static int vgetorpeek(int advance)
msg_row = Rows - 1;
msg_clr_eos(); /* clear ruler */
}
+#ifdef FEAT_WINDOWS
+ status_redraw_all();
+ redraw_statuslines();
+#endif
showmode();
setcursor();
continue;
diff --git a/src/version.c b/src/version.c
index 33fb3ca6cc..092c295b82 100644
--- a/src/version.c
+++ b/src/version.c
@@ -202,6 +202,9 @@ static char *(features[]) = {
static int included_patches[] = {
// Add new patch number below this line
+ 181,
+ //180,
+ //179,
178,
//177,
//176,