aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-06 20:44:41 +0800
committerGitHub <noreply@github.com>2022-07-06 20:44:41 +0800
commitc84ae5706fb0c31c415fedbc15021e9b2ef46065 (patch)
treeeb972208a75d0a28213cc040bad4d093ab2aec89 /src/nvim/ops.c
parent93c8fe77cbfd3934c7599196e573136f75f6e9af (diff)
parent1a490a5bc552fcdc299684b725c5044a9e9c73c7 (diff)
downloadrneovim-c84ae5706fb0c31c415fedbc15021e9b2ef46065.tar.gz
rneovim-c84ae5706fb0c31c415fedbc15021e9b2ef46065.tar.bz2
rneovim-c84ae5706fb0c31c415fedbc15021e9b2ef46065.zip
Merge pull request #19247 from zeertzjq/vim-8.2.4165
vim-patch:7.4.212,8.2.{4165,4221}: some functions in normal.c are too long
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r--src/nvim/ops.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
index 2f29e94ff1..21ab26898e 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -6627,9 +6627,7 @@ void do_pending_operator(cmdarg_T *cap, int old_col, bool gui_yank)
switch (oap->op_type) {
case OP_LSHIFT:
case OP_RSHIFT:
- op_shift(oap, true,
- oap->is_VIsual ? (int)cap->count1 :
- 1);
+ op_shift(oap, true, oap->is_VIsual ? (int)cap->count1 : 1);
auto_format(false, true);
break;