aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-12-23 15:19:07 -0500
committerJustin M. Keyes <justinkz@gmail.com>2014-12-23 15:19:07 -0500
commitaa08632caf80d2259d94e8f6e30cd806e3c05a1d (patch)
treefac1e6456a15da2a08a857fdc3c5e2d7fc645af6 /src/nvim/ex_docmd.c
parent4f6bb8a9a997aacbe9f9f1ca83e7e4c502bdc03c (diff)
parentfc0be5b79dfccc582005367da5ee24bd73592879 (diff)
downloadrneovim-aa08632caf80d2259d94e8f6e30cd806e3c05a1d.tar.gz
rneovim-aa08632caf80d2259d94e8f6e30cd806e3c05a1d.tar.bz2
rneovim-aa08632caf80d2259d94e8f6e30cd806e3c05a1d.zip
Merge pull request #1728 from fwalch/small-patches2
vim-patch: Multiple small patches (2)
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index f25af3f587..e4a8c2735b 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -70,6 +70,7 @@
#include "nvim/os/input.h"
#include "nvim/os/time.h"
#include "nvim/ex_cmds_defs.h"
+#include "nvim/mouse.h"
static int quitmore = 0;
static int ex_pressedreturn = FALSE;
@@ -7222,8 +7223,10 @@ static void ex_normal(exarg_T *eap)
msg_didout |= save_msg_didout; /* don't reset msg_didout now */
/* Restore the state (needed when called from a function executed for
- * 'indentexpr'). */
+ * 'indentexpr'). Update the mouse and cursor, they may have changed. */
State = save_State;
+ setmouse();
+ ui_cursor_shape(); /* may show different cursor shape */
free(arg);
}