aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/ops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
index 7c6e63a2bf..2819d98208 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -1286,7 +1286,6 @@ int insert_reg(int regname, bool literally_arg)
Direction dir = BACKWARD;
if ((State & REPLACE_FLAG) != 0) {
pos_T curpos;
- u_save_cursor();
if (u_save_cursor() == FAIL) {
return FAIL;
}