diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-07-06 13:25:22 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-07-06 19:58:44 +0800 |
commit | 1b5f53ca9574611273282dfbed91021d75242335 (patch) | |
tree | ead2935158bb97dc76cb624548fb2ca6a3aa2c9f /src/nvim/ops.c | |
parent | 93c8fe77cbfd3934c7599196e573136f75f6e9af (diff) | |
download | rneovim-1b5f53ca9574611273282dfbed91021d75242335.tar.gz rneovim-1b5f53ca9574611273282dfbed91021d75242335.tar.bz2 rneovim-1b5f53ca9574611273282dfbed91021d75242335.zip |
vim-patch:7.4.212
Problem: Now that the +visual feature is always enabled the #ifdefs for it
are not useful.
Solution: Remove the checks for FEAT_VISUAL.
https://github.com/vim/vim/commit/f7ff6e85e8a4e84cff023f5db4b66ef85986605a
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 4 |
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; |