aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/ex_docmd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index 3f28435ec0..b66b5cf3a9 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -7872,8 +7872,10 @@ void exec_normal(bool was_typed)
clear_oparg(&oa);
finish_op = false;
- while ((!stuff_empty() || ((was_typed || !typebuf_typed())
- && typebuf.tb_len > 0)) && !got_int) {
+ while ((!stuff_empty()
+ || ((was_typed || !typebuf_typed())
+ && typebuf.tb_len > 0))
+ && !got_int) {
update_topline_cursor();
normal_cmd(&oa, true); // execute a Normal mode cmd
}