aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-05-23 20:07:37 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-05-23 20:07:37 -0400
commit9c437439452978fec4f858323e532b6cd4052608 (patch)
tree4dbcb57ce920a021f0956169d191e06922ae7bc4 /src
parentb87a1db5acbe9a1e210c20d625e5bee19240c3a4 (diff)
downloadrneovim-9c437439452978fec4f858323e532b6cd4052608.tar.gz
rneovim-9c437439452978fec4f858323e532b6cd4052608.tar.bz2
rneovim-9c437439452978fec4f858323e532b6cd4052608.zip
lint
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);
}
/*