aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/normal.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index fbf1cc04e2..04eede18bd 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -5633,11 +5633,8 @@ static void nv_brackets(cmdarg_T *cap)
if ((fdo_flags & FDO_BLOCK) && KeyTyped && cap->oap->op_type == OP_NOP)
foldOpenCursor();
}
- }
- /*
- * "[p", "[P", "]P" and "]p": put with indent adjustment
- */
- else if (cap->nchar == 'p' || cap->nchar == 'P') {
+ } else if (cap->nchar == 'p' || cap->nchar == 'P') {
+ // "[p", "[P", "]P" and "]p": put with indent adjustment
nv_put_opt(cap, true);
}
/*