diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-12-26 07:02:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-26 07:02:44 +0100 |
commit | 927a4f24e09e879ae1006aab32ead81985c61865 (patch) | |
tree | 5e1ead3a895263522c061d9de733514a86476f41 /src/nvim/ops.c | |
parent | 5f1aec5abdb551e5f3035ca054d36580b3233efb (diff) | |
parent | 234c4a846bc78b2cc119b72b994b3ac3f401c8c3 (diff) | |
download | rneovim-927a4f24e09e879ae1006aab32ead81985c61865.tar.gz rneovim-927a4f24e09e879ae1006aab32ead81985c61865.tar.bz2 rneovim-927a4f24e09e879ae1006aab32ead81985c61865.zip |
Merge #11612 from janlazo/clang-pvs
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 0ca16e2c25..b597c5b214 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -1672,17 +1672,6 @@ setmarks: extmark_col_adjust_delete(curbuf, lnum, mincol, endcol, kExtmarkUndo, 0); } - - // Delete characters within one line, - // The case with multiple lines is handled by do_join - } else if (oap->motion_type == kMTCharWise && oap->line_count == 1) { - // + 1 to change to buf mode, then plus 1 to fit function requirements - endcol = oap->end.col + 1 + 1; - - lnum = curwin->w_cursor.lnum; - if (oap->is_VIsual == false) { - endcol = MAX(endcol - 1, mincol); - } } return OK; } |